From: Jeff Garzik Date: Wed, 17 Nov 2010 17:03:58 +0000 (-0500) Subject: [libata] remove SCSI host lock and serial number usage from ata_scsi_queuecmd X-Git-Tag: v2.6.37-rc3~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e701e6208191ad103517ae7a700f2dc59ab2ec;p=pandora-kernel.git [libata] remove SCSI host lock and serial number usage from ata_scsi_queuecmd cmd->serial_number is never tested in any path we reach; therefore we may remove the call to scsi_cmd_get_serial() inside DEF_SCSI_QCMD, the SCSI host_lock acquisition surrounding it, and our own SCSI host_lock unlock+relock cycle. Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed