staging: rtl8192u: remove unnecessary return in r8190_rtl8256.c
authorDu Cheng <ducheng2@gmail.com>
Fri, 19 Feb 2021 15:05:27 +0000 (23:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:26 +0000 (09:25 +0100)
remove the unnecessary return at the end of function
phy_set_rf8256_ofdm_tx_power(), reported by scripts/checkpatch.pl.

Signed-off-by: Du Cheng <ducheng2@gmail.com>
Link: https://lore.kernel.org/r/20210219150527.8358-2-ducheng2@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8190_rtl8256.c

index 3e6bd6caf9dad16d714238f8ca00162ff9e6edfc..54747fda552fd2a19642c5de7985d6562f3f3391 100644 (file)
@@ -291,5 +291,4 @@ void phy_set_rf8256_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
                }
                rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal);
        }
-       return;
 }