]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring/fdinfo: get rid of unnecessary is_cqe32 variable
authorJens Axboe <axboe@kernel.dk>
Sun, 11 Sep 2022 12:36:09 +0000 (06:36 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 19:15:02 +0000 (13:15 -0600)
commit04623a93d3fcaf8cac9206a3f1de198fc0c90b83
tree249dcd2b645192be018be466cbdef8914c486937
parent6d2c44f4e999128002abbf5994e4296da7383252
io_uring/fdinfo: get rid of unnecessary is_cqe32 variable

We already have the cq_shift, just use that to tell if we have doubly
sized CQEs or not.

While in there, cleanup the CQE32 vs normal CQE size printing.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/fdinfo.c