summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2014-02-21 16:25:21 -0600
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 10:19:24 -0700
commitdf03c3f62837e20e936fe705aa480e8bee6bb3ca (patch)
tree923d5062a2062bc85dc791ad68f2d36078a70d35 /drivers
parent316b221a37802b6abe26067f2c6f2d7bb79069e5 (diff)
[SCSI] hpsa: Do not zero fields of ioaccel2 command structure twice
Structure was already memset to zero at the top of hpsa_scsi_ioaccel2_queue_command Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/hpsa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index eb23eeacf592..9542a4463e75 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3570,8 +3570,6 @@ static int hpsa_scsi_ioaccel2_queue_command(struct ctlr_info *h,
cp->Tag = (c->cmdindex << DIRECT_LOOKUP_SHIFT) |
DIRECT_LOOKUP_BIT;
memcpy(cp->cdb, cdb, sizeof(cp->cdb));
- memset(cp->cciss_lun, 0, sizeof(cp->cciss_lun));
- cp->cmd_priority_task_attr = 0;
/* fill in sg elements */
cp->sg_count = (u8) use_sg;