diff options
Diffstat (limited to 'drivers/s390/cio/qdio_thinint.c')
-rw-r--r-- | drivers/s390/cio/qdio_thinint.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/s390/cio/qdio_thinint.c b/drivers/s390/cio/qdio_thinint.c index 2e060088fa87..bde5255200dc 100644 --- a/drivers/s390/cio/qdio_thinint.c +++ b/drivers/s390/cio/qdio_thinint.c | |||
@@ -73,7 +73,6 @@ static void put_indicator(u32 *addr) | |||
73 | void tiqdio_add_input_queues(struct qdio_irq *irq_ptr) | 73 | void tiqdio_add_input_queues(struct qdio_irq *irq_ptr) |
74 | { | 74 | { |
75 | mutex_lock(&tiq_list_lock); | 75 | mutex_lock(&tiq_list_lock); |
76 | BUG_ON(irq_ptr->nr_input_qs < 1); | ||
77 | list_add_rcu(&irq_ptr->input_qs[0]->entry, &tiq_list); | 76 | list_add_rcu(&irq_ptr->input_qs[0]->entry, &tiq_list); |
78 | mutex_unlock(&tiq_list_lock); | 77 | mutex_unlock(&tiq_list_lock); |
79 | xchg(irq_ptr->dsci, 1 << 7); | 78 | xchg(irq_ptr->dsci, 1 << 7); |
@@ -83,7 +82,6 @@ void tiqdio_remove_input_queues(struct qdio_irq *irq_ptr) | |||
83 | { | 82 | { |
84 | struct qdio_q *q; | 83 | struct qdio_q *q; |
85 | 84 | ||
86 | BUG_ON(irq_ptr->nr_input_qs < 1); | ||
87 | q = irq_ptr->input_qs[0]; | 85 | q = irq_ptr->input_qs[0]; |
88 | /* if establish triggered an error */ | 86 | /* if establish triggered an error */ |
89 | if (!q || !q->entry.prev || !q->entry.next) | 87 | if (!q || !q->entry.prev || !q->entry.next) |
@@ -184,7 +182,7 @@ static void tiqdio_thinint_handler(void *alsi, void *data) | |||
184 | struct qdio_q *q; | 182 | struct qdio_q *q; |
185 | 183 | ||
186 | last_ai_time = S390_lowcore.int_clock; | 184 | last_ai_time = S390_lowcore.int_clock; |
187 | kstat_cpu(smp_processor_id()).irqs[IOINT_QAI]++; | 185 | inc_irq_stat(IRQIO_QAI); |
188 | 186 | ||
189 | /* protect tiq_list entries, only changed in activate or shutdown */ | 187 | /* protect tiq_list entries, only changed in activate or shutdown */ |
190 | rcu_read_lock(); | 188 | rcu_read_lock(); |