lkml.org 
[lkml]   [2015]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging: lustre: fld_request.c: Remove else after return.
On Thu, Feb 26, 2015 at 10:20:06PM -0300, Alberto Pires de Oliveira Neto wrote:
> Signed-off-by: Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
>
> drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/
> lustre/lustre/fld/fld_request.c index b8d17e1..0b00301 100644 --- a/drivers/
> staging/lustre/lustre/fld/fld_request.c +++ b/drivers/staging/lustre/lustre/fld
> /fld_request.c @@ -217,10 +217,9 @@ int fld_client_add_target(struct
> lu_client_fld *fld,
>
> CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n",
> fld->lcf_name, name, tar->ft_idx);
> return 0;
>
> • } else {
>
> • CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”,
>
> • fld->lcf_name, name, tar->ft_idx);
>
> • }
>
> + } + CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”, + fld->lcf_name,
> name, tar->ft_idx);
>
> OBD_ALLOC_PTR(target);
> if (target == NULL)
>
> — 1.9.1
>
> *

You sent an html patch, which obviously can not be applied :(


\
 
 \ /
  Last update: 2015-02-27 02:41    [W:0.038 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site