aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-07-05 03:22:11 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-07-16 06:21:57 -0400
commitdae7fd42961e9ae9386f527b6d0e14f6e3da2317 (patch)
tree21441ef1ac6518a86efd1e36bd95e56b632875b1 /drivers/s390/cio
parent64597f9dae1850e0360ae2e9b5485d4b5d1fdf4c (diff)
s390/qdio: remove unused variable
Fix a "set but not used" warning found via make W=1. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
-rw-r--r--drivers/s390/cio/qdio_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c
index fb1c1e0483ed..8ed52aa49122 100644
--- a/drivers/s390/cio/qdio_main.c
+++ b/drivers/s390/cio/qdio_main.c
@@ -1497,7 +1497,7 @@ static inline int buf_in_between(int bufnr, int start, int count)
1497static int handle_inbound(struct qdio_q *q, unsigned int callflags, 1497static int handle_inbound(struct qdio_q *q, unsigned int callflags,
1498 int bufnr, int count) 1498 int bufnr, int count)
1499{ 1499{
1500 int used, diff; 1500 int diff;
1501 1501
1502 qperf_inc(q, inbound_call); 1502 qperf_inc(q, inbound_call);
1503 1503
@@ -1530,7 +1530,7 @@ static int handle_inbound(struct qdio_q *q, unsigned int callflags,
1530 1530
1531set: 1531set:
1532 count = set_buf_states(q, bufnr, SLSB_CU_INPUT_EMPTY, count); 1532 count = set_buf_states(q, bufnr, SLSB_CU_INPUT_EMPTY, count);
1533 used = atomic_add_return(count, &q->nr_buf_used) - count; 1533 atomic_add(count, &q->nr_buf_used);
1534 1534
1535 if (need_siga_in(q)) 1535 if (need_siga_in(q))
1536 return qdio_siga_input(q); 1536 return qdio_siga_input(q);