Re: [PATCH 7/14] drivers/net/typhoon.c: delete double assignment

From: David Miller
Date: Wed Oct 27 2010 - 15:24:03 EST


From: Julia Lawall <julia@xxxxxxx>
Date: Tue, 26 Oct 2010 12:25:36 +0200

> From: Julia Lawall <julia@xxxxxxx>
>
> Delete successive assignments to the same location. The current definition
> does not initialize the respRing structure, which has the same type as the
> cmdRing structure, so initialize that one instead.
>
> A simplified version of the semantic match that finds this problem is as
> follows: (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Applied.
--
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/