From: Bart Van Assche Date: Fri, 20 Jan 2017 21:04:23 +0000 (-0800) Subject: IB/nes: Remove a superfluous assignment statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a487a0bff383d5931f2e877ceada36ecae01111e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git IB/nes: Remove a superfluous assignment statement Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche Cc: Faisal Latif Signed-off-by: Doug Ledford --- 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;