summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath-hp-sw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-mpath-hp-sw.c')
-rw-r--r--drivers/md/dm-mpath-hp-sw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm-mpath-hp-sw.c b/drivers/md/dm-mpath-hp-sw.c
index 204bf42..b63a0ab 100644
--- a/drivers/md/dm-mpath-hp-sw.c
+++ b/drivers/md/dm-mpath-hp-sw.c
@@ -137,7 +137,6 @@ static struct request *hp_sw_get_request(struct dm_path *path)
req->sense = h->sense;
memset(req->sense, 0, SCSI_SENSE_BUFFERSIZE);
- memset(&req->cmd, 0, BLK_MAX_CDB);
req->cmd[0] = START_STOP;
req->cmd[4] = 1;
req->cmd_len = COMMAND_SIZE(req->cmd[0]);
OpenPOWER on IntegriCloud