diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-04-04 09:42:22 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 10:23:09 -0500 |
commit | 05d1091fd9fe3672bde444506fe426d864c52013 (patch) | |
tree | 116aa21cf1cb4837ca9b3970f1cacc7dadde8352 /drivers/usb/storage | |
parent | 5cd049a59913f359e7d30c11d2dc6187822e77b1 (diff) | |
download | talos-obmc-linux-05d1091fd9fe3672bde444506fe426d864c52013.tar.gz talos-obmc-linux-05d1091fd9fe3672bde444506fe426d864c52013.zip |
[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>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/isd200.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/storage/isd200.c b/drivers/usb/storage/isd200.c index 09e52ba47ddf..ffc4193e9505 100644 --- a/drivers/usb/storage/isd200.c +++ b/drivers/usb/storage/isd200.c @@ -499,7 +499,6 @@ static int isd200_action( struct us_data *us, int action, memset(&ata, 0, sizeof(ata)); srb->cmnd = info->cmnd; srb->device = &srb_dev; - ++srb->serial_number; ata.generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; ata.generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; |