diff options
author | Arnd Bergmann <[email protected]> | 2017-01-25 23:29:33 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-01-25 23:16:06 -0500 |
commit | 5b9d6b154a622d0481123c1b149afdf377264268 (patch) | |
tree | 5462589fb36bab10f7792155f3fdb6d9650a0f91 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0901df3aeaee6cb5dde2fd51089786aff6225ebf (diff) |
bridge: move maybe_deliver_addr() inside #ifdef
The only caller of this new function is inside of an #ifdef checking
for CONFIG_BRIDGE_IGMP_SNOOPING, so we should move the implementation
there too, in order to avoid this harmless warning:
net/bridge/br_forward.c:177:13: error: 'maybe_deliver_addr' defined but not used [-Werror=unused-function]
Fixes: 6db6f0eae605 ("bridge: multicast to unicast")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions