diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2021-01-25 09:46:59 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-02-09 15:57:04 +0100 |
commit | ed645696e07a402723320b13bc3756844db5de30 (patch) | |
tree | 0fb27c3bcc2bbecdce0f18bf45ee230f563e509d /drivers/s390 | |
parent | 1ecbcfd57ed6ee11ec39eac9b6516883c925c558 (diff) |
s390/qdio: remove qdio_inbound_q_moved() wrapper
It's used in just one place, inline it.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/qdio_main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c index a4dc5e283750..60ac07742f3d 100644 --- a/drivers/s390/cio/qdio_main.c +++ b/drivers/s390/cio/qdio_main.c @@ -508,11 +508,6 @@ static int get_inbound_buffer_frontier(struct qdio_q *q, unsigned int start) } } -static int qdio_inbound_q_moved(struct qdio_q *q, unsigned int start) -{ - return get_inbound_buffer_frontier(q, start); -} - static inline int qdio_inbound_q_done(struct qdio_q *q, unsigned int start) { unsigned char state = 0; @@ -1497,7 +1492,7 @@ static int __qdio_inspect_queue(struct qdio_q *q, unsigned int *bufnr, unsigned int start = q->first_to_check; int count; - count = q->is_input_q ? qdio_inbound_q_moved(q, start) : + count = q->is_input_q ? get_inbound_buffer_frontier(q, start) : qdio_outbound_q_moved(q, start); if (count == 0) return 0; |