Re: [PATCH] io_uring/waitid: remove #ifdef CONFIG_COMPAT

From: Jens Axboe
Date: Mon Feb 24 2025 - 12:45:48 EST


On 2/24/25 10:23 AM, Caleb Sander Mateos wrote:
> io_is_compat() is already defined to return false if CONFIG_COMPAT is
> disabled. So remove the additional #ifdef CONFIG_COMPAT guards. Let the
> compiler optimize out the dead code when CONFIG_COMPAT is disabled.

Would you mind if I fold this into Pavel's patch? I can keep it
standalone too, just let me know.

--
Jens Axboe