Skip to content
Commit b0e653b2 authored by Yajun Deng's avatar Yajun Deng Committed by David S. Miller
Browse files

arp: fix unused variable warnning when CONFIG_PROC_FS=n



net/ipv4/arp.c:1412:36: warning: unused variable 'arp_seq_ops' [-Wunused-const-variable]

Add #ifdef CONFIG_PROC_FS for 'arp_seq_ops'.

Fixes: e968b1b3 ("arp: Remove #ifdef CONFIG_PROC_FS")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarYajun Deng <yajun.deng@linux.dev>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5794097
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment