summaryrefslogtreecommitdiff
path: root/demo_null.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2022-07-17 03:37:58 +0000
committerMing Lei <tom.leiming@gmail.com>2022-07-17 03:37:58 +0000
commit08e0c55bdafd783a597c19e86e119f138129576f (patch)
treed1bc4640e9f8b43df51c257986f4af6ff2025289 /demo_null.c
parent9065deb079a973ff7637c92b91dec7207779923c (diff)
libublksrv: remove 'submitted' output parameter from ublksrv_process_io
So far no one use this parameter, and not see real uses of this parameter, so remove it. Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Diffstat (limited to 'demo_null.c')
-rw-r--r--demo_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo_null.c b/demo_null.c
index 6618889..c4bde08 100644
--- a/demo_null.c
+++ b/demo_null.c
@@ -43,7 +43,7 @@ static void *demo_null_io_handler_fn(void *data)
fprintf(stdout, "tid %d: ublk dev %d queue %d started\n", q->tid,
dev_id, q->q_id);
do {
- if (ublksrv_process_io(q, NULL) < 0)
+ if (ublksrv_process_io(q) < 0)
break;
} while (1);