From: Julia Lawall Date: Tue, 9 Mar 2010 21:13:49 +0000 (-0300) Subject: V4L/DVB: drivers/media: drop redundant memset X-Git-Tag: v2.6.35-rc1~480^2~381 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ce005002cd30a71f4355bd4fa8884154d6bd1ad;p=pandora-kernel.git V4L/DVB: drivers/media: 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 Cc: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed