]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
IB/srpt: Modify a debug statement
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 20 Jan 2017 21:04:33 +0000 (13:04 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 17:26:17 +0000 (12:26 -0500)
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>
drivers/infiniband/ulp/srpt/ib_srpt.c

index dfc24f19178b00fd740091f7020677fabd88b668..147beadd6815be0d971d5cdce6fe33565f73d1e4 100644 (file)
@@ -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)