aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-sbp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r--drivers/firewire/fw-sbp2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index d1bdf1807c4f..71146ba01e63 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -1454,7 +1454,6 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done)
1454 orb->cmd = cmd; 1454 orb->cmd = cmd;
1455 1455
1456 orb->request.next.high = cpu_to_be32(SBP2_ORB_NULL); 1456 orb->request.next.high = cpu_to_be32(SBP2_ORB_NULL);
1457 orb->request.next.low = 0x0;
1458 /* 1457 /*
1459 * At speed 100 we can do 512 bytes per packet, at speed 200, 1458 * At speed 100 we can do 512 bytes per packet, at speed 200,
1460 * 1024 bytes per packet etc. The SBP-2 max_payload field 1459 * 1024 bytes per packet etc. The SBP-2 max_payload field
@@ -1474,8 +1473,6 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done)
1474 if (scsi_sg_count(cmd) && sbp2_map_scatterlist(orb, device, lu) < 0) 1473 if (scsi_sg_count(cmd) && sbp2_map_scatterlist(orb, device, lu) < 0)
1475 goto out; 1474 goto out;
1476 1475
1477 memset(orb->request.command_block,
1478 0, sizeof(orb->request.command_block));
1479 memcpy(orb->request.command_block, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd)); 1476 memcpy(orb->request.command_block, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd));
1480 1477
1481 orb->base.callback = complete_command_orb; 1478 orb->base.callback = complete_command_orb;