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

From: David Dillow
Date: Tue Oct 26 2010 - 08:00:24 EST


On Tue, 2010-10-26 at 12:25 +0200, Julia Lawall wrote:
> 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.

> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Acked-by: David Dillow <dave@xxxxxxxxxxxxxx>

> ---
> This changes the semantics and has not been tested.

tp->respRing.lastWrite is only an artifact of using a common struct for
the rings and is not otherwise used, so no change to semantics.
--
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/