Merge r5743 from the iser branch

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-11 16:37:21 +00:00
parent 6440794f3d
commit 928c453a5c

View File

@@ -604,13 +604,11 @@ static int isert_poll_cq(struct isert_cq *cq)
static void isert_cq_comp_work_cb(struct work_struct *work)
{
struct isert_cq *cq_desc;
struct isert_device *isert_dev;
int ret;
TRACE_ENTRY();
cq_desc = container_of(work, struct isert_cq, cq_comp_work);
isert_dev = cq_desc->dev;
ret = isert_poll_cq(cq_desc);
if (unlikely(ret < 0)) { /* poll error */
pr_err("ib_poll_cq failed\n");