summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-28 12:51:58 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-28 12:51:58 -0700
commit34901a767d4ea768f0f41c428199e4218d938572 (patch)
tree3a70c7ba6ceddec4f2aa742ae86316c9a78e9bc5
parentb7d0d44812cc34d1ef21632f2180514bf4466ff4 (diff)
downloadliburing-34901a767d4ea768f0f41c428199e4218d938572.tar.gz
liburing-34901a767d4ea768f0f41c428199e4218d938572.tar.bz2
test/shared-wq: use normal init
We don't need the params anymore. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/shared-wq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/shared-wq.c b/test/shared-wq.c
index b7c491c..b15f73d 100644
--- a/test/shared-wq.c
+++ b/test/shared-wq.c
@@ -55,12 +55,10 @@ err:
int main(int argc, char *argv[])
{
- struct io_uring_params p;
struct io_uring ring;
int ret;
- memset(&p, 0, sizeof(p));
- ret = io_uring_queue_init_params(8, &ring, &p);
+ ret = io_uring_queue_init(8, &ring, 0);
if (ret) {
fprintf(stderr, "ring setup failed\n");
return 1;