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
This commit is contained in:
Bart Van Assche
2016-12-07 23:52:41 +00:00
parent b3893277be
commit f09274f365
+1 -1
View File
@@ -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)