From: Bart Van Assche Date: Fri, 20 Jan 2017 21:04:33 +0000 (-0800) Subject: IB/srpt: Modify a debug statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e3dfa60c0a1804d5934c11cd1680e373384aa0a0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git IB/srpt: Modify a debug statement Since a later patch will remove ib_device.dma_device and since knowing the value of that pointer is not too important, remove dma_device from the debug output. Signed-off-by: Bart Van Assche Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index dfc24f19178b..147beadd6815 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -2464,8 +2464,7 @@ static void srpt_add_one(struct ib_device *device) struct ib_srq_init_attr srq_attr; int i; - pr_debug("device = %p, device->dma_ops = %p\n", device, - device->dma_device->dma_ops); + pr_debug("device = %p\n", device); sdev = kzalloc(sizeof(*sdev), GFP_KERNEL); if (!sdev)