Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89623
b: refs/heads/master
c: 6f73100
h: refs/heads/master
i:
  89621: e3b09c3
  89619: a0a287d
  89615: bdf4603
v: v3
  • Loading branch information
Stefan Richter committed Apr 18, 2008
1 parent 1b2c99c commit c97b8ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d7dcbf2a3b6042351948ecf1f171eb3f1d72cd3
refs/heads/master: 6f73100cbbb9728c098bd05e9363d206b9eeab47
3 changes: 0 additions & 3 deletions trunk/drivers/firewire/fw-sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,6 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done)
orb->cmd = cmd;

orb->request.next.high = cpu_to_be32(SBP2_ORB_NULL);
orb->request.next.low = 0x0;
/*
* At speed 100 we can do 512 bytes per packet, at speed 200,
* 1024 bytes per packet etc. The SBP-2 max_payload field
Expand All @@ -1474,8 +1473,6 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done)
if (scsi_sg_count(cmd) && sbp2_map_scatterlist(orb, device, lu) < 0)
goto out;

memset(orb->request.command_block,
0, sizeof(orb->request.command_block));
memcpy(orb->request.command_block, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd));

orb->base.callback = complete_command_orb;
Expand Down

0 comments on commit c97b8ec

Please sign in to comment.