aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firewire/fw-sbp2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index a98d3915e26f..25f2aa430a30 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -207,7 +207,6 @@ struct sbp2_command_orb {
207 207
208 struct sbp2_pointer page_table[SG_ALL]; 208 struct sbp2_pointer page_table[SG_ALL];
209 dma_addr_t page_table_bus; 209 dma_addr_t page_table_bus;
210 dma_addr_t request_buffer_bus;
211}; 210};
212 211
213/* 212/*
@@ -882,11 +881,6 @@ complete_command_orb(struct sbp2_orb *base_orb, struct sbp2_status *status)
882 dma_unmap_single(device->card->device, orb->page_table_bus, 881 dma_unmap_single(device->card->device, orb->page_table_bus,
883 sizeof(orb->page_table_bus), DMA_TO_DEVICE); 882 sizeof(orb->page_table_bus), DMA_TO_DEVICE);
884 883
885 if (orb->request_buffer_bus != 0)
886 dma_unmap_single(device->card->device, orb->request_buffer_bus,
887 sizeof(orb->request_buffer_bus),
888 DMA_FROM_DEVICE);
889
890 orb->cmd->result = result; 884 orb->cmd->result = result;
891 orb->done(orb->cmd); 885 orb->done(orb->cmd);
892 kfree(orb); 886 kfree(orb);