From c2e191ebfe9bf5ab4eeae03cd36cc4e3b31aade3 Mon Sep 17 00:00:00 2001 From: Feyza Yavuz Date: Wed, 1 Oct 2014 21:29:51 +0300 Subject: [PATCH] staging: rtl8192e: rtl8192e: Remove unnecessary return statements Patch the following checkpatch.pl warnings drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c:304: warning: void function return statements are not generally useful drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c:83: warning: void function return statements are not generally useful Signed-off-by: Feyza Yavuz Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c b/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c index a1ecdff2b627..6ef0566fff48 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c @@ -79,7 +79,6 @@ void PHY_SetRF8256Bandwidth(struct net_device *dev, } } - return; } bool PHY_RF8256_Config(struct net_device *dev) @@ -300,5 +299,4 @@ void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel) rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal); } - return; } -- 2.30.2