1
0
Fork 0

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>
hifive-unleashed-5.1
Bart Van Assche 2017-01-20 13:04:33 -08:00 committed by Doug Ledford
parent dee2b82a5f
commit e3dfa60c0a
1 changed files with 1 additions and 2 deletions

View 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)