OSDN Git Service

staging: rtl8192e: Remove priv->rf_chip in rtl92e_set_tx_power
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Mar 2023 08:35:45 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:52:09 +0000 (09:52 +0100)
commit846fc62b9c3a1d322f3d7cd988aef5c9d88aa613
treecd1291b37cdbbf4a0fc71b73e45e2def22b87c56
parent1200384754b6ecce28e075efd256cfd654a91d04
staging: rtl8192e: Remove priv->rf_chip in rtl92e_set_tx_power

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

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