commit | 5ce005002cd30a71f4355bd4fa8884154d6bd1ad | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Tue Mar 09 18:13:49 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue May 18 00:46:51 2010 -0300 |
tree | fc1facc7b3d2ec26cc3e4def70b39ff425e94f4f | |
parent | c8382c8e3295a1c85975c1898410f4d103650e4a [diff] |
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/) // <smpl> @@ expression e1,e2,e3,e4; @@ - memset(e1,e2,e3); memcpy(e1,e4,e3); // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Cc: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>