staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_read
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Mar 2023 08:35:13 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:52:09 +0000 (09:52 +0100)
commitfe730bfda640bc7b64f458bb35007225b640bcb0
tree6912efd1f0be2781888ec53def062937e8dd21e4
parent6e1ce577876250dbbfa95caaad9e51826f452166
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_read

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

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