aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390')
-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);