diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-07-05 09:22:11 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-07-16 12:21:57 +0200 |
commit | dae7fd42961e9ae9386f527b6d0e14f6e3da2317 (patch) | |
tree | 21441ef1ac6518a86efd1e36bd95e56b632875b1 /drivers | |
parent | 64597f9dae1850e0360ae2e9b5485d4b5d1fdf4c (diff) | |
download | linux-dae7fd42961e9ae9386f527b6d0e14f6e3da2317.tar.gz linux-dae7fd42961e9ae9386f527b6d0e14f6e3da2317.tar.bz2 linux-dae7fd42961e9ae9386f527b6d0e14f6e3da2317.zip |
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')
-rw-r--r-- | drivers/s390/cio/qdio_main.c | 4 |
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) static int handle_inbound(struct qdio_q *q, unsigned int callflags, int bufnr, int count) { - int used, diff; + int diff; qperf_inc(q, inbound_call); @@ -1530,7 +1530,7 @@ static int handle_inbound(struct qdio_q *q, unsigned int callflags, set: count = set_buf_states(q, bufnr, SLSB_CU_INPUT_EMPTY, count); - used = atomic_add_return(count, &q->nr_buf_used) - count; + atomic_add(count, &q->nr_buf_used); if (need_siga_in(q)) return qdio_siga_input(q); |