firewire: fw-sbp2: remove unused struct member
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 11 May 2007 21:04:08 +0000 (23:04 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:42 +0000 (00:07 +0200)
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>
drivers/firewire/fw-sbp2.c

index a98d3915e26f33f926d8e0c383842cb5330018db..25f2aa430a30724c0a305cf3ab16761ac37450a3 100644 (file)
@@ -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);