提交 b8f10657 编写于 作者: S Stefan Richter

firewire: fw-sbp2: remove unused struct member

cleanup after support of single-buffer requests was dropped
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: NKristian Hoegsberg <krh@redhat.com>
上级 53c96b41
...@@ -207,7 +207,6 @@ struct sbp2_command_orb { ...@@ -207,7 +207,6 @@ struct sbp2_command_orb {
struct sbp2_pointer page_table[SG_ALL]; struct sbp2_pointer page_table[SG_ALL];
dma_addr_t page_table_bus; 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) ...@@ -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, dma_unmap_single(device->card->device, orb->page_table_bus,
sizeof(orb->page_table_bus), DMA_TO_DEVICE); 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->cmd->result = result;
orb->done(orb->cmd); orb->done(orb->cmd);
kfree(orb); kfree(orb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册