summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-01-20 13:04:23 -0800
committerDoug Ledford <dledford@redhat.com>2017-01-24 12:23:35 -0500
commita487a0bff383d5931f2e877ceada36ecae01111e (patch)
tree71a21a960fb20717f404d499e74c5e6b46335da1 /drivers/infiniband
parent26e372705f360bda968bdd3215e83594481ec9d1 (diff)
downloadblackbird-op-linux-a487a0bff383d5931f2e877ceada36ecae01111e.tar.gz
blackbird-op-linux-a487a0bff383d5931f2e877ceada36ecae01111e.zip
IB/nes: Remove a superfluous assignment statement
Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/nes/nes_verbs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
index aff9fb14768b..9b0ac3674702 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -3740,7 +3740,6 @@ struct nes_ib_device *nes_init_ofa_device(struct net_device *netdev)
nesibdev->ibdev.phys_port_cnt = 1;
nesibdev->ibdev.num_comp_vectors = 1;
- nesibdev->ibdev.dma_device = &nesdev->pcidev->dev;
nesibdev->ibdev.dev.parent = &nesdev->pcidev->dev;
nesibdev->ibdev.query_device = nes_query_device;
nesibdev->ibdev.query_port = nes_query_port;
OpenPOWER on IntegriCloud