aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/sbp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/sbp2.c')
-rw-r--r--drivers/firewire/sbp2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c
index cbf969abe311..47674b913843 100644
--- a/drivers/firewire/sbp2.c
+++ b/drivers/firewire/sbp2.c
@@ -1475,10 +1475,8 @@ static int sbp2_scsi_queuecommand(struct Scsi_Host *shost,
1475 } 1475 }
1476 1476
1477 orb = kzalloc(sizeof(*orb), GFP_ATOMIC); 1477 orb = kzalloc(sizeof(*orb), GFP_ATOMIC);
1478 if (orb == NULL) { 1478 if (orb == NULL)
1479 dev_notice(lu_dev(lu), "failed to alloc ORB\n");
1480 return SCSI_MLQUEUE_HOST_BUSY; 1479 return SCSI_MLQUEUE_HOST_BUSY;
1481 }
1482 1480
1483 /* Initialize rcode to something not RCODE_COMPLETE. */ 1481 /* Initialize rcode to something not RCODE_COMPLETE. */
1484 orb->base.rcode = -1; 1482 orb->base.rcode = -1;