staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_switch_channel_step
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Mar 2023 08:36:23 +0000 (09:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:52:10 +0000 (09:52 +0100)
commit0c0b33680ad2e21819786f817ed22c2bc1801601
tree3d681fd4a7b5957fdf69674adb3c3bde3c292b37
parent592630558d93a6416987e48a56ec41233fa9bd0b
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_switch_channel_step

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

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