OSDN Git Service

staging: rtl8192e: Remove priv->rf_chip in rtl92e_config_phy
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Mar 2023 08:36:00 +0000 (09:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:52:09 +0000 (09:52 +0100)
commitade42a46b293436433a10de77003afa205d7dde5
treee75178f6a57d591d6e2521bf4944a139e489d7b9
parent846fc62b9c3a1d322f3d7cd988aef5c9d88aa613
staging: rtl8192e: Remove priv->rf_chip in rtl92e_config_phy

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

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