diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2008-12-25 07:38:45 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 07:38:58 -0500 |
commit | 9a1ce28aeb7a8b1666eaa9f104c1a2f5a149f9df (patch) | |
tree | 6fddd41384459790b5addfe70a3725cfcba30e29 /drivers/s390/cio/qdio_thinint.c | |
parent | 23589d057ac2da81e456d4a9dcdd9135fd96f493 (diff) |
[S390] qdio: fix compile warning under 31 bit
The QEBSM instructions are only available for CONFIG_64BIT, they are not
used under 31 bit. Make compiler happy about the false positive:
drivers/s390/cio/qdio_main.c: In function ?qdio_inbound_q_done?:
drivers/s390/cio/qdio_main.c:532: warning: ?state? may be used uninitialized in this function
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio_thinint.c')
-rw-r--r-- | drivers/s390/cio/qdio_thinint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio_thinint.c b/drivers/s390/cio/qdio_thinint.c index ea7f6140026..c47f6699a43 100644 --- a/drivers/s390/cio/qdio_thinint.c +++ b/drivers/s390/cio/qdio_thinint.c | |||
@@ -125,7 +125,7 @@ void tiqdio_remove_input_queues(struct qdio_irq *irq_ptr) | |||
125 | 125 | ||
126 | static inline int tiqdio_inbound_q_done(struct qdio_q *q) | 126 | static inline int tiqdio_inbound_q_done(struct qdio_q *q) |
127 | { | 127 | { |
128 | unsigned char state; | 128 | unsigned char state = 0; |
129 | 129 | ||
130 | if (!atomic_read(&q->nr_buf_used)) | 130 | if (!atomic_read(&q->nr_buf_used)) |
131 | return 1; | 131 | return 1; |