diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2017-10-13 12:58:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-14 18:43:45 -0700 |
commit | 657875944726af8f881df7d431afbbe8f50ad4d7 (patch) | |
tree | a10955950b97a5c9a6431e491514cd9458f481a3 /net/core | |
parent | c116004d5b415ad553e7e86f22d79965f8f2e05a (diff) |
net_sched: fix a compile warning in act_ife
Apparently ife_meta_id2name() is only called when
CONFIG_MODULES is defined.
This fixes:
net/sched/act_ife.c:251:20: warning: ‘ife_meta_id2name’ defined but not used [-Wunused-function]
static const char *ife_meta_id2name(u32 metaid)
^~~~~~~~~~~~~~~~
Fixes: d3f24ba895f0 ("net sched actions: fix module auto-loading")
Cc: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions