diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-05-11 23:04:08 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-10 00:07:42 +0200 |
commit | b8f106570f20a7a98a18a14c2d11d65f581c2808 (patch) | |
tree | 64b7fe1a8093de7009dac380c7fc78fb29a18e13 /drivers/firewire | |
parent | 53c96b41742a2dadd14e65c23fc119f2a2fd9f05 (diff) | |
download | kernel_samsung_smdk4412-b8f106570f20a7a98a18a14c2d11d65f581c2808.zip kernel_samsung_smdk4412-b8f106570f20a7a98a18a14c2d11d65f581c2808.tar.gz kernel_samsung_smdk4412-b8f106570f20a7a98a18a14c2d11d65f581c2808.tar.bz2 |
firewire: fw-sbp2: remove unused struct member
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>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/fw-sbp2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index a98d391..25f2aa4 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c @@ -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; }; /* @@ -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); |