diff options
author | 2021-06-01 22:00:52 +0800 | |
---|---|---|
committer | 2021-06-01 17:00:51 -0700 | |
commit | e516f5be5b17cdae68d14206451b64d36f9588e4 (patch) | |
tree | b49029d0cc35c6a4147a66fd9a12b1ab3ef519f8 /drivers/net/macvlan.c | |
parent | net: stmmac: enable platform specific safety features (diff) | |
download | wireguard-linux-e516f5be5b17cdae68d14206451b64d36f9588e4.tar.xz wireguard-linux-e516f5be5b17cdae68d14206451b64d36f9588e4.zip |
hamradio: bpqether: Fix -Wunused-const-variable warning
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.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions