[PATCH v2 0/1] staging: lustre: cleanup not needed else clauses

2015-06-08 Thread Antonio Murdaca
This patch applies cleanly to staging-next tree Antonio Murdaca (1): staging: lustre: cleanup not needed else clauses drivers/staging/lustre/lustre/fid/fid_request.c| 5 ++--- drivers/staging/lustre/lustre/include/lprocfs_status.h | 3 +-- drivers/staging/lustre/lustre/ldlm

[PATCH v2 1/1] staging: lustre: cleanup not needed else clauses

2015-06-08 Thread Antonio Murdaca
From: Antonio Murdaca cleanup checkpatch.pl warnings about not needed else clauses after a break or return Signed-off-by: Antonio Murdaca --- drivers/staging/lustre/lustre/fid/fid_request.c| 5 ++--- drivers/staging/lustre/lustre/include/lprocfs_status.h | 3 +-- drivers/staging

Re: [PATCH] staging: lustre: cleanup not needed else clauses

2015-06-08 Thread Antonio Murdaca
I'll send a v2 as soon as possible! 2015-06-08 21:28 GMT+02:00 Greg KH : > On Mon, Jun 01, 2015 at 02:18:51PM +0200, Antonio Murdaca wrote: >> cleanup checkpatch.pl warnings about not needed else >> clauses after a break or return >> >> Signed-off-by: Antonio Mur

[PATCH] staging: lustre: lov: remove unnecessary parentheses

2015-06-01 Thread Antonio Murdaca
fix checkpatch.pl warning about unnecessary parentheses Signed-off-by: Antonio Murdaca --- drivers/staging/lustre/lustre/lov/lov_obd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/lov/lov_obd.c b/drivers/staging/lustre/lustre/lov/lov_obd.c

[PATCH] staging: lustre: cleanup not needed else clauses

2015-06-01 Thread Antonio Murdaca
cleanup checkpatch.pl warnings about not needed else clauses after a break or return Signed-off-by: Antonio Murdaca --- drivers/staging/lustre/lustre/fid/fid_request.c| 5 ++- .../staging/lustre/lustre/include/lprocfs_status.h | 3 +- drivers/staging/lustre/lustre/lclient/lcommon_cl.c