diff options
author | Julia Lawall <julia@diku.dk> | 2010-03-09 11:14:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-15 15:47:03 -0700 |
commit | 876e956f207373f974f2808c36aabcd4e32c9ee4 (patch) | |
tree | 98ea73adefeecf951fe0d3d4afa825356c46f13c /drivers/w1/w1_family.h | |
parent | 255f5c327ec3a1d77fe54ef5773ef5eaf7c35a3e (diff) | |
download | blackbird-op-linux-876e956f207373f974f2808c36aabcd4e32c9ee4.tar.gz blackbird-op-linux-876e956f207373f974f2808c36aabcd4e32c9ee4.zip |
drivers/net: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/w1/w1_family.h')
0 files changed, 0 insertions, 0 deletions