Skip to content

Commit

Permalink
firewire: fw-sbp2: remove unused struct member
Browse files Browse the repository at this point in the history
cleanup after support of single-buffer requests was dropped

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Hoegsberg <krh@redhat.com>
  • Loading branch information
Stefan Richter committed Jul 9, 2007
1 parent 53c96b4 commit b8f1065
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/firewire/fw-sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ struct sbp2_command_orb {

struct sbp2_pointer page_table[SG_ALL];
dma_addr_t page_table_bus;
dma_addr_t request_buffer_bus;
};

/*
Expand Down Expand Up @@ -882,11 +881,6 @@ complete_command_orb(struct sbp2_orb *base_orb, struct sbp2_status *status)
dma_unmap_single(device->card->device, orb->page_table_bus,
sizeof(orb->page_table_bus), DMA_TO_DEVICE);

if (orb->request_buffer_bus != 0)
dma_unmap_single(device->card->device, orb->request_buffer_bus,
sizeof(orb->request_buffer_bus),
DMA_FROM_DEVICE);

orb->cmd->result = result;
orb->done(orb->cmd);
kfree(orb);
Expand Down

0 comments on commit b8f1065

Please sign in to comment.