X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=drivers%2Ffirewire%2Fsbp2.c;h=c22606fe3d44bf06d273a657917a12fda4ce39de;hb=19913b6db3aa417d855318c9cf5b40fbc1f28e52;hp=64ac8f8f5098875edede0f356fd24226ce5bc49d;hpb=104b61590dcd5f71ff518e2b820e1cdf9d0350f2;p=cascardo%2Flinux.git diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c index 64ac8f8f5098..c22606fe3d44 100644 --- a/drivers/firewire/sbp2.c +++ b/drivers/firewire/sbp2.c @@ -1463,17 +1463,6 @@ static int sbp2_scsi_queuecommand(struct Scsi_Host *shost, struct sbp2_command_orb *orb; int generation, retval = SCSI_MLQUEUE_HOST_BUSY; - /* - * Bidirectional commands are not yet implemented, and unknown - * transfer direction not handled. - */ - if (cmd->sc_data_direction == DMA_BIDIRECTIONAL) { - dev_err(lu_dev(lu), "cannot handle bidirectional command\n"); - cmd->result = DID_ERROR << 16; - cmd->scsi_done(cmd); - return 0; - } - orb = kzalloc(sizeof(*orb), GFP_ATOMIC); if (orb == NULL) return SCSI_MLQUEUE_HOST_BUSY;