From: Du Cheng Date: Fri, 19 Feb 2021 15:05:27 +0000 (+0800) Subject: staging: rtl8192u: remove unnecessary return in r8190_rtl8256.c X-Git-Tag: v5.13-rc1~173^2~684 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1d3944f41b5b8d53b4c9ca7594a7c137c8f5bca;p=thirdparty%2Flinux.git staging: rtl8192u: remove unnecessary return in r8190_rtl8256.c 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 Link: https://lore.kernel.org/r/20210219150527.8358-2-ducheng2@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers/staging/rtl8192u/r8190_rtl8256.c index 3e6bd6caf9dad..54747fda552fd 100644 --- a/drivers/staging/rtl8192u/r8190_rtl8256.c +++ b/drivers/staging/rtl8192u/r8190_rtl8256.c @@ -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; }