OSDN Git Service

staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_write
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Mar 2023 08:35:28 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:52:09 +0000 (09:52 +0100)
commit1200384754b6ecce28e075efd256cfd654a91d04
tree8a19a709f52f32d2c5cf81ac7eb394efcc7535b7
parentfe730bfda640bc7b64f458bb35007225b640bcb0
staging: rtl8192e: Remove priv->rf_chip in _rtl92e_phy_rf_write

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

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