staging: r8188eu: pnp_bstop_trx is never set
authorMichael Straube <straube.linux@gmail.com>
Mon, 4 Apr 2022 08:21:40 +0000 (10:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:34:52 +0000 (16:34 +0200)
commitff99fdb280a58305a1ee189677f97f3a5028e04a
tree8445179181160ad521dd009d7ea4b4a51b423ab4
parentd08a738ff1d06bd66cc8b9a9b8c9ffd4df53c029
staging: r8188eu: pnp_bstop_trx is never set

The field pnp_bstop_trx in struct pwrctrl_priv is never set. It stays
at its default value 0. Remove it and remove related dead code.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220404082142.4639-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_ops_linux.c
drivers/staging/r8188eu/include/rtw_pwrctrl.h
drivers/staging/r8188eu/os_dep/usb_ops_linux.c