]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: rtl8723au: core: rtw_pwrctrl: Fix void function return statements style...
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>
Thu, 9 Oct 2014 13:35:30 +0000 (16:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:30:12 +0000 (10:30 +0800)
The following patch fixes the checkpatch.pl warning:

drivers/staging/rtl8723au/core/rtw_pwrctrl.c WARNING: void function return statements are not generally useful

Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_pwrctrl.c

index bf72c5ed6e247d7e474b43e034fa05f4fb428367..32f1ab515f9120b5a8ce00df1c751a6ab1fae3ea 100644 (file)
@@ -172,7 +172,6 @@ void rtw_ps_processor23a(struct rtw_adapter *padapter)
 exit:
        rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv);
        pwrpriv->ps_processing = false;
-       return;
 }
 
 static void pwr_state_check_handler(unsigned long data)