Commit 78fe824a authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[SCSI_ACARD]: Eliminate bogus virt_to_bus() call in atp870u.c

prdaddr is set by the pci_alloc_consistent() call to portably
specify the DMA address.  There is no need to recompute it
again using the deprecated virt_to_bus() on the pointer returned
from pci_alloc_consistent().
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cd9cc105
......@@ -992,10 +992,6 @@ void send_s870(struct atp_unit *dev,unsigned char c)
}
tmpcip += 4;
#ifdef ED_DBGP
printk("send_s870: prdaddr_1 0x%8x\n", dev->id[c][target_id].prdaddr);
#endif
dev->id[c][target_id].prdaddr = virt_to_bus(dev->id[c][target_id].prd_table);
#ifdef ED_DBGP
printk("send_s870: prdaddr_2 0x%8x tmpcip %x target_id %d\n", dev->id[c][target_id].prdaddr,tmpcip,target_id);
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment