Re: [PATCH] staging : lustre : Remove braces from single-line body.

2017-01-03 Thread Greg KH
On Wed, Dec 28, 2016 at 07:40:09PM +0530, Tabrez khan wrote: > Remove unnecessary braces from single-line if statement. > This warning is found using checkpatch.pl. > > Signed-off-by: Tabrez khan > --- > drivers/staging/lustre/lustre/ptlrpc/import.c | 4 ++-- > 1 file

[PATCH] staging : lustre : Remove braces from single line body.

2016-12-29 Thread Tabrez khan
Remove unnecessary braces from single line if statement. This warning is found using checkpatch.pl. Signed-off-by: Tabrez khan --- drivers/staging/lustre/lustre/osc/lproc_osc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] staging : lustre : Remove braces from single-line body.

2016-12-28 Thread Tabrez khan
Remove unnecessary braces from single-line if statement. This warning is found using checkpatch.pl. Signed-off-by: Tabrez khan --- drivers/staging/lustre/lustre/ptlrpc/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] staging : lustre : Remove braces from single-line body.

2016-12-16 Thread Joe Perches
On Fri, 2016-12-16 at 21:53 +0300, Dan Carpenter wrote: > On Fri, Dec 16, 2016 at 10:43:24AM -0800, Joe Perches wrote: > > On Fri, 2016-12-16 at 23:29 +0530, Tabrez khan wrote: > > > Remove unnecessary braces {} from single line if statement. > > > This warning is found using checkpatch.pl. > > >

Re: [PATCH] staging : lustre : Remove braces from single-line body.

2016-12-16 Thread Dan Carpenter
On Fri, Dec 16, 2016 at 10:43:24AM -0800, Joe Perches wrote: > On Fri, 2016-12-16 at 23:29 +0530, Tabrez khan wrote: > > Remove unnecessary braces {} from single line if statement. > > This warning is found using checkpatch.pl. > [] > > diff --git a/drivers/staging/lustre/lustre/ptlrpc/import.c >

Re: [PATCH] staging : lustre : Remove braces from single-line body.

2016-12-16 Thread Joe Perches
On Fri, 2016-12-16 at 23:29 +0530, Tabrez khan wrote: > Remove unnecessary braces {} from single line if statement. > This warning is found using checkpatch.pl. [] > diff --git a/drivers/staging/lustre/lustre/ptlrpc/import.c > b/drivers/staging/lustre/lustre/ptlrpc/import.c [] > @@ -1134,9

[PATCH] staging : lustre : Remove braces from single-line body.

2016-12-16 Thread Tabrez khan
Remove unnecessary braces {} from single line if statement. This warning is found using checkpatch.pl. Signed-off-by: Tabrez khan --- drivers/staging/lustre/lustre/ptlrpc/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [lustre-devel] [PATCH] staging : lustre : Remove braces from single-line body.

2016-12-16 Thread Xiong, Jinshan
> On Dec 16, 2016, at 8:05 AM, Joe Perches wrote: > > On Fri, 2016-12-16 at 19:59 +0530, Tabrez khan wrote: >> Remove unnecessary braces {} for single while statement. > > Your patch is fine Tabrez, but to the lustre folk: > >> diff --git

Re: [PATCH] staging : lustre : Remove braces from single-line body.

2016-12-16 Thread Joe Perches
On Fri, 2016-12-16 at 19:59 +0530, Tabrez khan wrote: > Remove unnecessary braces {} for single while statement. Your patch is fine Tabrez, but to the lustre folk: > diff --git a/drivers/staging/lustre/lustre/obdclass/cl_io.c > b/drivers/staging/lustre/lustre/obdclass/cl_io.c [] > @@ -1371,9

[PATCH] staging : lustre : Remove braces from single-line body.

2016-12-16 Thread Tabrez khan
Remove unnecessary braces {} for single while statement. This warning is found using checkpatch.pl. Signed-off-by: Tabrez khan --- drivers/staging/lustre/lustre/obdclass/cl_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git