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

Antonio Murdaca antoniomurdaca at gmail.com
Mon Jun 8 19:30:35 UTC 2015


I'll send a v2 as soon as possible!

2015-06-08 21:28 GMT+02:00 Greg KH <gregkh at linuxfoundation.org>:
> 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 Murdaca <antonio.murdaca at gmail.com>
>> ---
>>  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 | 36 +++++++++++-----------
>>  drivers/staging/lustre/lustre/ldlm/ldlm_lib.c      |  3 +-
>>  drivers/staging/lustre/lustre/ldlm/ldlm_lock.c     | 11 ++++---
>>  drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     |  3 +-
>>  drivers/staging/lustre/lustre/lov/lov_request.c    |  3 +-
>>  drivers/staging/lustre/lustre/mdc/mdc_request.c    |  8 ++---
>>  drivers/staging/lustre/lustre/obdclass/cl_object.c |  6 ++--
>>  drivers/staging/lustre/lustre/obdclass/llog_cat.c  |  6 ++--
>>  drivers/staging/lustre/lustre/osc/osc_lock.c       |  3 +-
>>  drivers/staging/lustre/lustre/osc/osc_request.c    | 14 +++++----
>>  drivers/staging/lustre/lustre/ptlrpc/pinger.c      |  8 ++---
>>  13 files changed, 50 insertions(+), 59 deletions(-)
>
> Doesn't apply to my latest tree :(



-- 
Antonio Murdaca


More information about the devel mailing list