isert-scst: Fix the build against kernel v5.3

In kernel v5.3 the ib_destroy_cq() return type has been changed from 'int'
into 'void'.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8475 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-07-24 01:12:06 +00:00
parent 0ac23deee2
commit 36c0648b7e

View File

@@ -1144,7 +1144,7 @@ out:
static void isert_device_release(struct isert_device *isert_dev)
{
int err, i;
int i;
TRACE_ENTRY();
@@ -1165,10 +1165,7 @@ static void isert_device_release(struct isert_device *isert_dev)
cancel_work_sync(&cq_desc->cq_comp_work);
#endif
err = ib_destroy_cq(cq_desc->cq);
if (unlikely(err))
PRINT_ERROR("Failed to destroy cq, err:%d", err);
ib_destroy_cq(cq_desc->cq);
destroy_workqueue(cq_desc->cq_workqueue);
}