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

priv->rf_chip is initialized to RF_8256 and never changed. Remove
conditions in function _rtl92e_set_bw_mode_work_item as those are dead
code.

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