diff options
| author | 2010-03-09 22:14:34 +0100 | |
|---|---|---|
| committer | 2010-04-11 09:23:30 -0500 | |
| commit | e05a9e7b18dfcce6911d0b901d7f04387cc1d93c (patch) | |
| tree | 672286c193a021a2d2f6fb9d83014a04a7141d5d /drivers/scsi/pmcraid.c | |
| parent | [SCSI] mpt2sas : Device removal algorithm in interrupt context only (diff) | |
| download | wireguard-linux-e05a9e7b18dfcce6911d0b901d7f04387cc1d93c.tar.xz wireguard-linux-e05a9e7b18dfcce6911d0b901d7f04387cc1d93c.zip | |
[SCSI] pm8001: 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>
Acked-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions
