提交 67bb323b 编写于 作者: J Julian Wiedmann 提交者: Martin Schwidefsky

s390/qdio: clean up q->irq_ptr usage

In tiqdio_call_inq_handlers(), we're looping over all
input queues on the *same* irq. So instead of using the
queues' back pointer, we can just access the irq directly.

No functional change.
Signed-off-by: NJulian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 1e4a382f
...@@ -161,11 +161,11 @@ static inline void tiqdio_call_inq_handlers(struct qdio_irq *irq) ...@@ -161,11 +161,11 @@ static inline void tiqdio_call_inq_handlers(struct qdio_irq *irq)
} }
/* avoid dsci clear here, done after processing */ /* avoid dsci clear here, done after processing */
q->u.in.queue_start_poll(q->irq_ptr->cdev, q->nr, q->u.in.queue_start_poll(irq->cdev, q->nr,
q->irq_ptr->int_parm); irq->int_parm);
} else { } else {
if (!shared_ind(q->irq_ptr)) if (!shared_ind(irq))
xchg(q->irq_ptr->dsci, 0); xchg(irq->dsci, 0);
/* /*
* Call inbound processing but not directly * Call inbound processing but not directly
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册