Remove the redundant include "liburing/compat.h"
PATCH 1/1 Remove the redundant include "liburing/compat.h"
Since these C source files have included the "liburing/liburing.h", which has included "liburing/compat.h".
Signed-off-by Haiyue Wang <[email protected]>
--- src/queue.c | 1 - src/register.c | 1 - src/setup.c | 1 - 3 files changed, 3 deletions(-)
src/queue.c +0 -1
@@ -6,7 +6,6 @@#include "liburing.h" #include "int_flags.h" #include "liburing/sanitize.h" -#include "liburing/compat.h" #include "liburing/io_uring.h" /*
src/register.c +0 -1
@@ -6,7 +6,6 @@#include "liburing.h" #include "setup.h" #include "int_flags.h" -#include "liburing/compat.h" #include "liburing/io_uring.h" #include "liburing/sanitize.h"
src/setup.c +0 -1
@@ -6,7 +6,6 @@#include "liburing.h" #include "int_flags.h" #include "setup.h" -#include "liburing/compat.h" #include "liburing/io_uring.h" #define KERN_MAX_ENTRIES 32768
Signature · 1 line
2.47.0
Quoted 4 lines · Haiyue Wang
Since these C source files have included the "
liburing/liburing.h", which has included "liburing/compat.h".
Applied, thanks!
[1/1] Remove the redundant include "liburing/compat.h"
commit: 99a09d92097f3362aa624fe9b1172de28203eea5
Best regards,
Signature · 1 line
Jens Axboe