From: Feng Sun <loyo...@gmail.com> Date: Mon, 26 Aug 2019 14:13:40 +0800
> +static inline bool netpoll_xmit_complete(int rc) > +{ > + return dev_xmit_complete(rc); > +} There is no need for this useless indirection, just call dev_xmit_complete() staright. Also, even if it was suitable, never use the inline keyword in foo.c files.