--- zzzz-none-000/linux-4.1.52/include/linux/aio.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/aio.h 2022-03-02 11:37:13.000000000 +0000 @@ -18,12 +18,12 @@ struct iocb __user *__user *iocbpp, bool compat); void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel); #else -static inline void exit_aio(struct mm_struct *mm) { } -static inline long do_io_submit(aio_context_t ctx_id, long nr, - struct iocb __user * __user *iocbpp, - bool compat) { return 0; } -static inline void kiocb_set_cancel_fn(struct kiocb *req, - kiocb_cancel_fn *cancel) { } +static inline void exit_aio(struct mm_struct *mm __maybe_unused) { } +static inline long do_io_submit(aio_context_t ctx_id __maybe_unused, long nr __maybe_unused, + struct iocb __user * __user *iocbpp __maybe_unused, + bool compat __maybe_unused) { return 0; } +static inline void kiocb_set_cancel_fn(struct kiocb *req __maybe_unused, + kiocb_cancel_fn *cancel __maybe_unused) { } #endif /* CONFIG_AIO */ /* for sysctl: */