aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2011-05-23 04:24:38 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-05-23 04:24:31 -0400
commitc26001d4e9133fe45e47eee18cfd826219e71fb9 (patch)
treed6a26a82dc436aa8e89a32b03e48bfb1a4e0cdff
parent1b60f68f6674ecc5c86f7dfe7e87941bc4236b9b (diff)
[S390] qdio: prevent compile warning
Prevent the following compile warning for !CONFIG_64BIT: CC drivers/s390/cio/qdio_main.o drivers/s390/cio/qdio_main.c: In function ‘handle_outbound’: drivers/s390/cio/qdio_main.c:1449: 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>
-rw-r--r--drivers/s390/cio/qdio_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c
index e8f267eb888..55e8f721e38 100644
--- a/drivers/s390/cio/qdio_main.c
+++ b/drivers/s390/cio/qdio_main.c
@@ -1446,7 +1446,7 @@ set:
1446static int handle_outbound(struct qdio_q *q, unsigned int callflags, 1446static int handle_outbound(struct qdio_q *q, unsigned int callflags,
1447 int bufnr, int count) 1447 int bufnr, int count)
1448{ 1448{
1449 unsigned char state; 1449 unsigned char state = 0;
1450 int used, rc = 0; 1450 int used, rc = 0;
1451 1451
1452 qperf_inc(q, outbound_call); 1452 qperf_inc(q, outbound_call);