diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-05-09 12:03:28 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-09 07:58:47 -0600 |
commit | 28b8cd864da516ea87162015e490b1dea444888f (patch) | |
tree | 9f79d12383607c1799b0bf9127fb984c51135814 /io_uring/net.c | |
parent | 6ae4308116f1033ceb11b419c01e9c5f17a35633 (diff) |
io_uring/net: move CONFIG_NET guards to Makefile
Instruct Makefile to never try to compile net.c without CONFIG_NET and
kill ifdefs in the file.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f466400e20c3f536191bfd559b1f3cd2a2ab5a1e.1746788579.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.c')
-rw-r--r-- | io_uring/net.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/net.c b/io_uring/net.c index b3a643675ce8..1fbdb2bbb3f3 100644 --- a/io_uring/net.c +++ b/io_uring/net.c @@ -18,7 +18,6 @@ #include "rsrc.h" #include "zcrx.h" -#if defined(CONFIG_NET) struct io_shutdown { struct file *file; int how; @@ -1836,4 +1835,3 @@ void io_netmsg_cache_free(const void *entry) io_vec_free(&kmsg->vec); kfree(kmsg); } -#endif |