staging: r8188eu: cmd_seq is write-only
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:29 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:21 +0000 (19:31 +0100)
commit00df407396ddf0d027bb3380fe07ed67e3624b81
tree4f799baa7bde3e5393e345e6e0d7967476c91a0f
parent55074f02b4ef4db8d0467afc9eb78a53ef838a36
staging: r8188eu: cmd_seq is write-only

The cmd_seq component of struct cmd_priv is set and incremented but never
read. It can be removed.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221230180646.91008-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_cmd.c
drivers/staging/r8188eu/include/rtw_cmd.h