diff options
author | Julia Lawall <julia@diku.dk> | 2010-03-09 18:13:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 00:46:51 -0300 |
commit | 5ce005002cd30a71f4355bd4fa8884154d6bd1ad (patch) | |
tree | fc1facc7b3d2ec26cc3e4def70b39ff425e94f4f /drivers/media/dvb/ngene | |
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>
Diffstat (limited to 'drivers/media/dvb/ngene')
0 files changed, 0 insertions, 0 deletions