aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-04-26 09:30:11 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-05-08 15:01:23 +0200
commit5a19d67027283c77f51b971485c3e579d94b5a2f (patch)
treeab5082dd97701ace5cae0499acf8ecb3377c4ff2 /drivers/s390/cio
parents390/qdio: allow to scan all Output SBALs in one go (diff)
downloadlinux-dev-5a19d67027283c77f51b971485c3e579d94b5a2f.tar.xz
linux-dev-5a19d67027283c77f51b971485c3e579d94b5a2f.zip
s390/qdio: use get_buf_state() in debug_get_buf_state()
For a 1-SBAL state inspection, use the corresponding helper. No functional change, just reducing the number of immediate callers to get_buf_states(). Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Jens Remus <jremus@linux.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.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 957c2a8dfc13..be93172555ec 100644
--- a/drivers/s390/cio/qdio_main.c
+++ b/drivers/s390/cio/qdio_main.c
@@ -382,7 +382,7 @@ int debug_get_buf_state(struct qdio_q *q, unsigned int bufnr,
{
if (need_siga_sync(q))
qdio_siga_sync_q(q);
- return get_buf_states(q, bufnr, state, 1, 0, 0);
+ return get_buf_state(q, bufnr, state, 0);
}
static inline void qdio_stop_polling(struct qdio_q *q)