Re: [PATCH] sfc: use IS_ENABLED() checks for CONFIG_SFC_SRIOV

From: patchwork-bot+netdevbpf
Date: Mon Feb 20 2023 - 05:50:25 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 17 Feb 2023 10:56:39 +0100 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> One local variable has become unused after a recent change:
>
> drivers/net/ethernet/sfc/ef100_nic.c: In function 'ef100_probe_netdev_pf':
> drivers/net/ethernet/sfc/ef100_nic.c:1155:21: error: unused variable 'net_dev' [-Werror=unused-variable]
> struct net_device *net_dev = efx->net_dev;
> ^~~~~~~
>
> [...]

Here is the summary with links:
- sfc: use IS_ENABLED() checks for CONFIG_SFC_SRIOV
https://git.kernel.org/netdev/net-next/c/a59f832a71c9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html