io_uring/net: move CONFIG_NET guards to Makefile
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 9 May 2025 11:03:28 +0000 (12:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 May 2025 13:58:47 +0000 (07:58 -0600)
commit28b8cd864da516ea87162015e490b1dea444888f
tree9f79d12383607c1799b0bf9127fb984c51135814
parent6ae4308116f1033ceb11b419c01e9c5f17a35633
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>
io_uring/Makefile
io_uring/net.c