staging: r8188eu: RSSI_test is always false
authorMichael Straube <straube.linux@gmail.com>
Tue, 28 Dec 2021 10:11:19 +0000 (11:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Dec 2021 16:14:29 +0000 (17:14 +0100)
commit6a3631bdacb10fcbddb8df3cab44d344d355f732
tree96a01dfe2956ab20dfde48175693a489e1899692
parentf4b1b1f3336a96b822f14c5da428e57b85a4c6ab
staging: r8188eu: RSSI_test is always false

The field RSSI_test of struct odm_dm_struct is never set. It stays
at the default value 0. Remove it and remove a related if test that
is always true.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211228101120.9120-10-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/odm_HWConfig.c
drivers/staging/r8188eu/include/odm.h