]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/core: Remove ib_device.dma_device
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 20 Jan 2017 21:04:36 +0000 (13:04 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 17:26:17 +0000 (12:26 -0500)
commit99db9494035f5b9fbb1d579f89c6fa1beba6dbb7
treeae9fbb5059c019095aad90b8600823bc25344238
parent92f4ae3559832ef1e5f785cfea14c231ef40612e
IB/core: Remove ib_device.dma_device

Add code in ib_register_device() for copying the DMA masks. Use
&ib_device.dev in DMA mapping operations instead of dma_device.
Remove ib_device.dma_device because due to this and previous patches
it is no longer used.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/device.c
include/rdma/ib_verbs.h