diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2016-11-21 07:34:23 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-02-03 07:50:20 -0500 |
commit | 67bb323bfee7db1af047ae15a5d7f8f5a52a09a6 (patch) | |
tree | b54f6eca07edb9e8ca73bc880a7566dabed38ca8 | |
parent | 1e4a382fdc0ba8d1a85b758c0811de3a3631085e (diff) |
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>
-rw-r--r-- | drivers/s390/cio/qdio_thinint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/s390/cio/qdio_thinint.c b/drivers/s390/cio/qdio_thinint.c index 30e9fbbff051..90447e9611b4 100644 --- a/drivers/s390/cio/qdio_thinint.c +++ b/drivers/s390/cio/qdio_thinint.c | |||
@@ -161,11 +161,11 @@ static inline void tiqdio_call_inq_handlers(struct qdio_irq *irq) | |||
161 | } | 161 | } |
162 | 162 | ||
163 | /* avoid dsci clear here, done after processing */ | 163 | /* avoid dsci clear here, done after processing */ |
164 | q->u.in.queue_start_poll(q->irq_ptr->cdev, q->nr, | 164 | q->u.in.queue_start_poll(irq->cdev, q->nr, |
165 | q->irq_ptr->int_parm); | 165 | irq->int_parm); |
166 | } else { | 166 | } else { |
167 | if (!shared_ind(q->irq_ptr)) | 167 | if (!shared_ind(irq)) |
168 | xchg(q->irq_ptr->dsci, 0); | 168 | xchg(irq->dsci, 0); |
169 | 169 | ||
170 | /* | 170 | /* |
171 | * Call inbound processing but not directly | 171 | * Call inbound processing but not directly |