Skip to content

Commit

Permalink
IB/srpt: Modify a debug statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bart Van Assche authored and Doug Ledford committed Jan 24, 2017
1 parent dee2b82 commit e3dfa60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/infiniband/ulp/srpt/ib_srpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3dfa60

Please sign in to comment.