Re: [PATCH V2 1/5] Staging: rtl8192u: ieee80211: Fix coding style warning

2019-05-14 Thread Dan Carpenter
On Tue, May 14, 2019 at 09:24:38PM +0530, Puranjay Mohan wrote: > On Tue, May 14, 2019 at 04:09:05PM +0200, Greg KH wrote: > > On Tue, May 14, 2019 at 02:42:31PM +0530, Puranjay Mohan wrote: > > > Remove braces around a single if statement to fix following > > > checkpatch.pl warning. > > >

[PATCH v2 1/5] Staging: rtl8192u: ieee80211: Fix coding style warning

2019-05-14 Thread Puranjay Mohan
Remove braces around a single if statement to fix following checkpatch.pl warning. WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Puranjay Mohan --- drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

Re: [PATCH V2 1/5] Staging: rtl8192u: ieee80211: Fix coding style warning

2019-05-14 Thread Puranjay Mohan
On Tue, May 14, 2019 at 04:09:05PM +0200, Greg KH wrote: > On Tue, May 14, 2019 at 02:42:31PM +0530, Puranjay Mohan wrote: > > Remove braces around a single if statement to fix following > > checkpatch.pl warning. > > WARNING: braces {} are not necessary for single statement blocks > > > >

Re: [PATCH V2 1/5] Staging: rtl8192u: ieee80211: Fix coding style warning

2019-05-14 Thread Greg KH
On Tue, May 14, 2019 at 02:42:31PM +0530, Puranjay Mohan wrote: > Remove braces around a single if statement to fix following > checkpatch.pl warning. > WARNING: braces {} are not necessary for single statement blocks > > Signed-off-by: Puranjay Mohan > --- > > V2 - remove extra blank line

[PATCH V2 1/5] Staging: rtl8192u: ieee80211: Fix coding style warning

2019-05-14 Thread Puranjay Mohan
Remove braces around a single if statement to fix following checkpatch.pl warning. WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Puranjay Mohan --- V2 - remove extra blank line before the closing brace. drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 3