From: Stefan Richter Date: Fri, 23 Jan 2015 14:05:13 +0000 (+0100) Subject: firewire: sbp2: remove redundant check for bidi command X-Git-Tag: fixes-v4.0-rc1~66^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f95f8c9fddb14ec0c5b2d49f691b9c2aee7b9b9;p=pandora-kernel.git firewire: sbp2: remove redundant check for bidi command [Bart van Asche:] SCSI core never sets cmd->sc_data_direction to DMA_BIDIRECTIONAL; scsi_bidi_cmnd(cmd) should be used instead to test for a bidirectional command. [Christoph Hellwig:] Bidirectional commands won't ever be queued anyway, unless a LLD or transport driver sets QUEUE_FLAG_BIDI. So, simply remove the respective queuecommand check in the SBP-2 transport driver. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed