Re: [PATCH] xen-netback: remove unused variables pending_idx and index

patchwork-bot+netdevbpf
2023-02-28T00:46:42Z

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 26 Feb 2023 11:34:29 -0500 you wrote:
> building with gcc and W=1 reports
> drivers/net/xen-netback/netback.c:886:21: error: variable
> ‘pending_idx’ set but not used [-Werror=unused-but-set-variable]
> 886 | u16 pending_idx;
> | ^~~~~~~~~~~
>
> pending_idx is not used so remove it. Since index was only
> used to set pending_idx, remove index as well.
>
> [...]

Here is the summary with links:
- xen-netback: remove unused variables pending_idx and index
https://git.kernel.org/netdev/net-next/c/ccf8f7d71424

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.