Subject: Re: [PATCH net-next] netconsole: Do not shutdown dynamic configuration if cmdline is invalid

From: Jakub Kicinski <[email-masked]>
Date: Mon, 13 May 2024 14:51:29 -0700

On Fri, 10 May 2024 03:30:05 -0700 Breno Leitao wrote:
> +static inline bool dynamic_netconsole_enabled(void)
> +{
> +	return IS_ENABLED(CONFIG_NETCONSOLE_DYNAMIC);
> +}

Why the separate static inline?
We can put IS_ENABLED.. directly in the if condition.