From: Julia Lawall Date: Tue, 9 Mar 2010 21:14:58 +0000 (+0100) Subject: Staging: otus: drop redundant memset X-Git-Tag: v2.6.35-rc1~441^2^2~531 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d1fe5eaa3b796609a8e2b7dad2480e623c19819;p=pandora-kernel.git Staging: otus: 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: Greg Kroah-Hartman --- Reading git-diff-tree failed