Browse Source

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 <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Bart Van Assche 8 years ago
parent
commit
e3dfa60c0a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/infiniband/ulp/srpt/ib_srpt.c

+ 1 - 2
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)