diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-25 23:29:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-25 23:16:06 -0500 |
commit | 5b9d6b154a622d0481123c1b149afdf377264268 (patch) | |
tree | 5462589fb36bab10f7792155f3fdb6d9650a0f91 /net/batman-adv/network-coding.h | |
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 <arnd@arndb.de>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/network-coding.h')
0 files changed, 0 insertions, 0 deletions