Re: [PATCH net-next] hamradio: bpqether: Fix -Wunused-const-variable warning
From: patchwork-bot+netdevbpf
Date: Tue Jun 01 2021 - 20:10:43 EST
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Tue, 1 Jun 2021 22:00:52 +0800 you wrote:
> If CONFIG_PROC_FS is n, gcc warns:
>
> drivers/net/hamradio/bpqether.c:437:36:
> warning: ‘bpq_seqops’ defined but not used [-Wunused-const-variable=]
> static const struct seq_operations bpq_seqops = {
> ^~~~~~~~~~
> Use #ifdef macro to gurad this.
>
> [...]
Here is the summary with links:
- [net-next] hamradio: bpqether: Fix -Wunused-const-variable warning
https://git.kernel.org/netdev/net-next/c/e516f5be5b17
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html