mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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: Bart Van Assche <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Cc: [email protected] Cc: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
committed by
Martin K. Petersen
parent
c2bb87318b
commit
f7de50da14
@@ -534,7 +534,6 @@ static int scsifront_queuecommand(struct Scsi_Host *shost,
|
||||
int err;
|
||||
|
||||
sc->result = 0;
|
||||
memset(shadow, 0, sizeof(*shadow));
|
||||
|
||||
shadow->sc = sc;
|
||||
shadow->act = VSCSIIF_ACT_SCSI_CDB;
|
||||
|
||||
Reference in New Issue
Block a user