diff mbox series

[liburing,v1] Remove the redundant include "liburing/compat.h"

Message ID 20241030175348.569-1-haiyuewa@163.com (mailing list archive)
State New
Headers show
Series [liburing,v1] Remove the redundant include "liburing/compat.h" | expand

Commit Message

Haiyue Wang Oct. 30, 2024, 5:53 p.m. UTC
Since these C source files have included the "liburing/liburing.h",
which has included "liburing/compat.h".

Signed-off-by: Haiyue Wang <haiyuewa@163.com>
---
 src/queue.c    | 1 -
 src/register.c | 1 -
 src/setup.c    | 1 -
 3 files changed, 3 deletions(-)

Comments

Jens Axboe Oct. 30, 2024, 8:50 p.m. UTC | #1
On Thu, 31 Oct 2024 01:53:45 +0800, Haiyue Wang wrote:
> 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,
diff mbox series

Patch

diff --git a/src/queue.c b/src/queue.c
index 6967dad..1692866 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -6,7 +6,6 @@ 
 #include "liburing.h"
 #include "int_flags.h"
 #include "liburing/sanitize.h"
-#include "liburing/compat.h"
 #include "liburing/io_uring.h"
 
 /*
diff --git a/src/register.c b/src/register.c
index 6e9bc88..d20ff9b 100644
--- a/src/register.c
+++ b/src/register.c
@@ -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"
 
diff --git a/src/setup.c b/src/setup.c
index 96fdcab..e4c39f0 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -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