staging: rtl8192e: Remove unchanged variable active_scan
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 6 Oct 2023 19:05:22 +0000 (21:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 09:13:57 +0000 (11:13 +0200)
commitf4840e34387ddc25a42968535c5105fa59661fae
treec6edf6ba72041e493ed95f90ef348a5f8cce957a
parentc5b5d02f9b146bf60e4c4666812bbe19861b1249
staging: rtl8192e: Remove unchanged variable active_scan

Remove variable active_scan as its value is set to 1 at initialization.
No further writes to active_scan are done. The equation results
accordingly. Remove dead code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/eea9f6cb1feeb8aa5beb546034562f55a03da449.1696548527.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c