Tag: 5ce005002cd30a71f4355bd4fa8884154d6bd1ad

V4L/DVB: drivers/media: drop redundant memset

Author: Julia Lawall <julia@diku.dk> 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 — drivers/media/dvb/bt8xx/dst.c | 2 …

Continue reading