Skip to content

Commit 67bb323

Browse files
julianwiedmannMartin Schwidefsky
authored andcommitted
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: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 1e4a382 commit 67bb323

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/s390/cio/qdio_thinint.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ static inline void tiqdio_call_inq_handlers(struct qdio_irq *irq)
161161
}
162162

163163
/* avoid dsci clear here, done after processing */
164-
q->u.in.queue_start_poll(q->irq_ptr->cdev, q->nr,
165-
q->irq_ptr->int_parm);
164+
q->u.in.queue_start_poll(irq->cdev, q->nr,
165+
irq->int_parm);
166166
} else {
167-
if (!shared_ind(q->irq_ptr))
168-
xchg(q->irq_ptr->dsci, 0);
167+
if (!shared_ind(irq))
168+
xchg(irq->dsci, 0);
169169

170170
/*
171171
* Call inbound processing but not directly

0 commit comments

Comments
 (0)