mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user