Messages in this thread |  | | Subject | Re: [PATCH] remove return statement | From | Joe Perches <> | Date | Fri, 14 Apr 2017 22:17:07 -0700 |
| |
On Sat, 2017-04-15 at 10:35 +0530, surenderpolsani wrote: > staging : rtl8188e : remove return in void function
Your patch subject isn't correct.
It should be something like:
Subject: [PATCH] staging: rtl8188e: Remove void function return
> kernel coding style doesn't allow the return statement > in void function. [] > diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c [] > @@ -165,7 +165,6 @@ void rtw_hal_dm_watchdog(struct adapter *Adapter) > skip_dm: > /* Check GPIO to determine current RF on/off and Pbc status. */ > /* Check Hardware Radio ON/OFF or not */ > - return;
And the comments? Are those supposed to be reminders of code to write?
|  |