提交 f7de50da 编写于 作者: B Bart Van Assche 提交者: Martin K. Petersen

scsi: xen-scsifront: Remove code that zeroes driver-private command data

Since the SCSI core zeroes driver-private command data, remove
that code from the xen-scsifront driver.
Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: NHannes Reinecke <hare@suse.com>
Reviewed-by: NJuergen Gross <jgross@suse.com>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Cc: xen-devel@lists.xenproject.org
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 c2bb8731
...@@ -534,7 +534,6 @@ static int scsifront_queuecommand(struct Scsi_Host *shost, ...@@ -534,7 +534,6 @@ static int scsifront_queuecommand(struct Scsi_Host *shost,
int err; int err;
sc->result = 0; sc->result = 0;
memset(shadow, 0, sizeof(*shadow));
shadow->sc = sc; shadow->sc = sc;
shadow->act = VSCSIIF_ACT_SCSI_CDB; shadow->act = VSCSIIF_ACT_SCSI_CDB;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册