Commit 94b20309 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: remove errant ';' from IORING_CQE_F_TSTAMP_HW definition



An errant ';' slipped into that definition, which will cause some
compilers to complain when it's used in an application:

timestamp.c:257:45: error: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
  257 |                 hwts = cqe->flags & IORING_CQE_F_TSTAMP_HW;
      |                                                           ^

Fixes: 9e4ed359 ("io_uring/netcmd: add tx timestamping cmd support")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9e4ed359
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment