diff options
| author | Jens Axboe <axboe@kernel.dk> | 2025-01-31 14:19:11 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-02-20 07:59:56 -0700 |
| commit | 0fb3f5600c5e583a1cf9dbe803ba7ef89f7fbc65 (patch) | |
| tree | a227866f811e35774feced3d924dc5b5ea6075df /io_uring/epoll.c | |
| parent | 08b40b7a1051114f41cdec0bba4548b87cc2a3f6 (diff) | |
io_uring/epoll: remove CONFIG_EPOLL guards
Just have the Makefile add the object if epoll is enabled, then it's
not necessary to guard the entire epoll.c file inside an CONFIG_EPOLL
ifdef.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/epoll.c')
| -rw-r--r-- | io_uring/epoll.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/epoll.c b/io_uring/epoll.c index 89bff2068a19..7848d9cc073d 100644 --- a/io_uring/epoll.c +++ b/io_uring/epoll.c @@ -12,7 +12,6 @@ #include "io_uring.h" #include "epoll.h" -#if defined(CONFIG_EPOLL) struct io_epoll { struct file *file; int epfd; @@ -58,4 +57,3 @@ int io_epoll_ctl(struct io_kiocb *req, unsigned int issue_flags) io_req_set_res(req, ret, 0); return IOU_OK; } -#endif |