提交 e3dfa60c 编写于 作者: B Bart Van Assche 提交者: Doug Ledford

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: NBart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 dee2b82a
...@@ -2464,8 +2464,7 @@ static void srpt_add_one(struct ib_device *device) ...@@ -2464,8 +2464,7 @@ static void srpt_add_one(struct ib_device *device)
struct ib_srq_init_attr srq_attr; struct ib_srq_init_attr srq_attr;
int i; int i;
pr_debug("device = %p, device->dma_ops = %p\n", device, pr_debug("device = %p\n", device);
device->dma_device->dma_ops);
sdev = kzalloc(sizeof(*sdev), GFP_KERNEL); sdev = kzalloc(sizeof(*sdev), GFP_KERNEL);
if (!sdev) if (!sdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册