summaryrefslogtreecommitdiffstats
path: root/net/can/bcm.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2015-01-23 15:05:13 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2015-01-31 15:27:40 +0100
commit1f95f8c9fddb14ec0c5b2d49f691b9c2aee7b9b9 (patch)
tree80945f8cc50af45e52122b31b21adf59d84a9e6c /net/can/bcm.c
parentb625a825955ede39047e821f4b69f36cf042b952 (diff)
downloadlinux-1f95f8c9fddb14ec0c5b2d49f691b9c2aee7b9b9.tar.gz
linux-1f95f8c9fddb14ec0c5b2d49f691b9c2aee7b9b9.tar.bz2
linux-1f95f8c9fddb14ec0c5b2d49f691b9c2aee7b9b9.zip
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 <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'net/can/bcm.c')
0 files changed, 0 insertions, 0 deletions