[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140521.171937.898588239489051362.davem@davemloft.net>
Date: Wed, 21 May 2014 17:19:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: julia.lawall@...6.fr
Cc: sergei.shtylyov@...entembedded.com, inaky.perez-gonzalez@...el.com,
kernel-janitors@...r.kernel.org, linux-wimax@...el.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/13 v2] wimax/i2400m: make return of 0 explicit
From: Julia Lawall <julia.lawall@...6.fr>
Date: Tue, 20 May 2014 08:44:49 +0800 (SGT)
> From: Julia Lawall <Julia.Lawall@...6.fr>
>
> Delete unnecessary local variable whose value is always 0 and that hides
> the fact that the result is always 0.
>
> A simplified version of the semantic patch that fixes this problem is as
> follows: (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>
>
> ---
> Alternatively, is an error code wanted under the if?
>
> v2: remove the use of 0 as an argument in the call to d_fnend
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists