Re: [PATCH 1/4] ksz884x: delete useless variable

From: David Miller
Date: Wed Jan 15 2014 - 16:44:03 EST


From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Mon, 13 Jan 2014 17:17:24 +0100

> From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> Delete a variable that is at most only assigned to a constant, but never
> used otherwise. In this code, it is the variable result that is used for
> the return code, not rc.
>
> 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@xxxxxxx>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/