From: Julia Lawall Date: Tue, 9 Mar 2010 11:14:11 +0000 (+0000) Subject: drivers/net: drop redundant memset X-Git-Tag: v2.6.34-rc2~28^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=876e956f207373f974f2808c36aabcd4e32c9ee4;p=pandora-kernel.git drivers/net: drop redundant memset The region set by the call to memset is immediately overwritten by the subsequent call to memcpy. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e1,e2,e3,e4; @@ - memset(e1,e2,e3); memcpy(e1,e4,e3); // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed