staging: rtl8192e: Remove rf_chip in _rtl92e_get_supported_wireless_mode
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Mar 2023 08:36:54 +0000 (09:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:52:10 +0000 (09:52 +0100)
commit25e99c453b6d4797be3606d4debeabc9e7f28ef9
tree6a72e84f29cdf41718578a90a8488bd440b7e8e2
parentec69d872eb6fccc0e271f2d7ca283796c215a776
staging: rtl8192e: Remove rf_chip in _rtl92e_get_supported_wireless_mode

priv->rf_chip is initialized to RF_8256 and never changed. Remove
condition in function _rtl92e_get_supported_wireless_mode as it is dead
code.

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