OSDN Git Service

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)
commit4f731705cc1f1591e15e1c3133de8ae3843c68ff
tree249dcd2b645192be018be466cbdef8914c486937
parentc0dc995eb2295e1be6b95b60c90c59f87b009bdb
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