From: Julia Lawall Date: Tue, 26 Oct 2010 00:25:36 +0000 (+0000) Subject: drivers/net/typhoon.c: delete double assignment X-Git-Tag: v2.6.37-rc1~88^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13c3ab86f27967488b8182a173ebc899c9111bf0;p=pandora-kernel.git drivers/net/typhoon.c: delete double assignment 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/) // @@ expression i; @@ *i = ...; i = ...; // Signed-off-by: Julia Lawall Acked-by: David Dillow Signed-off-by: David S. Miller --- Reading git-diff-tree failed