Re: [PATCH]: staging: Greybus: Remove unnecessary braces for single statement block

2016-11-20 Thread Viresh Kumar
On Fri, Nov 18, 2016 at 8:45 PM, Rahul Krishnan wrote: > This patch fixes the following checkpath.pl warning > WARNING: braces {} are not necessary for single statement blocks > > > Signed-off-by: Rahul Krishnan > --- > drivers/staging/greybus/sdio.c | 3 +-- > 1 file changed, 1 insertion(+), 2

Re: [PATCH]: staging: Greybus: Remove unnecessary braces for single statement block

2016-11-18 Thread Rui Miguel Silva
Hi Rahul, Thanks for the patch. Now looks great. On Fri, Nov 18, 2016 at 08:45:25PM +0530, Rahul Krishnan wrote: This patch fixes the following checkpath.pl warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Rahul Krishnan Reviewed-by: Rui Miguel Silva

[PATCH]: staging: Greybus: Remove unnecessary braces for single statement block

2016-11-18 Thread Rahul Krishnan
This patch fixes the following checkpath.pl warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Rahul Krishnan --- drivers/staging/greybus/sdio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/greybus/sdio.c b/drivers/st

Re: [PATCH]: staging: Greybus: Remove unnecessary braces for single statement block

2016-11-15 Thread Dan Carpenter
On Tue, Nov 15, 2016 at 06:54:33PM +0530, Rahul Krishnan wrote: > This patch fixes the following checkpath.pl warning > WARNING: braces {} are not necessary for single statement blocks > > Signed-off-by: Rahul Krishnan > --- > drivers/staging/greybus/sdio.c | 5 ++--- > 1 file changed, 2 inserti

[PATCH]: staging: Greybus: Remove unnecessary braces for single statement block

2016-11-15 Thread Rahul Krishnan
This patch fixes the following checkpath.pl warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Rahul Krishnan --- drivers/staging/greybus/sdio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/greybus/sdio.c b/drivers/