isert-scst: Unbreak nightly build

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6740 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-12-12 16:02:37 +00:00
parent 7eb874c3ba
commit 034f8bc3f1

View File

@@ -963,7 +963,8 @@ static struct isert_device *isert_device_create(struct ib_device *ib_dev)
goto fail_cq;
}
#ifndef IB_CREATE_CQ_HAS_INIT_ATTR
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0) && \
!defined(IB_CREATE_CQ_HAS_INIT_ATTR)
cq = ib_create_cq(ib_dev,
isert_cq_comp_handler,
isert_async_evt_handler,