]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: rtl8188eu: remove unused members from struct recv_priv
authorLuca Ceresoli <luca@lucaceresoli.net>
Thu, 29 Dec 2016 23:01:06 +0000 (00:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 16:10:08 +0000 (17:10 +0100)
commit6b8b810f2c9a11e65bcd7674b1593cda503a7a6b
tree34baa62510f8fa4ea6c25f9996ad12f020fd419f
parent9fe7b29c6cc1e4adbc2b3d6b8452ff5278ee4fba
staging: rtl8188eu: remove unused members from struct recv_priv

Since commit da25a8ec6b2d ("staging: rtl8188eu: remove unused
debugging functions") is_signal_dbg is never set to true, so the code
under if (adapter->recvpriv.is_signal_dbg) is dead. Remove the
variable and the dead code.

The signal_strength_dbg was referenced only in the code that is being
removed, so remove it as well.

Also fix coding style issues in the touched lines.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Ivan Safonov <insafonov@gmail.com>
Cc: devel@driverdev.osuosl.org
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c
drivers/staging/rtl8188eu/include/rtw_recv.h