From f09274f3651b8a93c18fc1cac7486f4cfb1faf5c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 7 Dec 2016 23:52:41 +0000 Subject: [PATCH] ib_srpt: Simplify a debug statement It is likely that ib_device.dma_ops will be removed sooner or later. Hence make sure that the ib_srpt driver does not depend on it. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7049 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index d3384758d..52a66b8bf 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -4336,7 +4336,7 @@ static void srpt_add_one(struct ib_device *device) struct ib_srq_init_attr srq_attr; int i, ret; - pr_debug("device = %p, device->dma_ops = %p\n", device, device->dma_ops); + pr_debug("device = %p\n", device); sdev = kzalloc(sizeof(*sdev), GFP_KERNEL); if (!sdev)