[SCSI] usb-storage: do not increment cmd->serial_number

The isd200 sub-driver increments the command serial number despite not
using it at all in it's routine for sending internal scsi commands.
Remove the increment to prepare for removing the serial_number field.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
Christoph Hellwig 2011-04-04 09:42:22 -04:00 committed by James Bottomley
parent 5cd049a599
commit 05d1091fd9
1 changed files with 0 additions and 1 deletions

View File

@ -499,7 +499,6 @@ static int isd200_action( struct us_data *us, int action,
memset(&ata, 0, sizeof(ata)); memset(&ata, 0, sizeof(ata));
srb->cmnd = info->cmnd; srb->cmnd = info->cmnd;
srb->device = &srb_dev; srb->device = &srb_dev;
++srb->serial_number;
ata.generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; ata.generic.SignatureByte0 = info->ConfigData.ATAMajorCommand;
ata.generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; ata.generic.SignatureByte1 = info->ConfigData.ATAMinorCommand;