Skip to content

Commit b1dfe4e

Browse files
committed
io_uring/fdinfo: kill unnecessary newline feed in CQE32 printing
There's an unconditional newline feed anyway after dumping both normal and big CQE contents, remove the \n from the CQE32 extra1/extra2 printing. Signed-off-by: Jens Axboe <[email protected]>
1 parent af07330 commit b1dfe4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

io_uring/fdinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ static void __io_uring_show_fdinfo(struct io_ring_ctx *ctx, struct seq_file *m)
159159
cq_head & cq_mask, cqe->user_data, cqe->res,
160160
cqe->flags);
161161
if (cqe32)
162-
seq_printf(m, ", extra1:%llu, extra2:%llu\n",
162+
seq_printf(m, ", extra1:%llu, extra2:%llu",
163163
cqe->big_cqe[0], cqe->big_cqe[1]);
164164
seq_printf(m, "\n");
165165
cq_head++;

0 commit comments

Comments
 (0)