[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bridge
Subject:    Re: [Bridge] [PATCH] [net-next] bridge: move maybe_deliver_addr() inside #ifdef
From:       David Miller <davem () davemloft ! net>
Date:       2017-01-26 4:16:25
Message-ID: 20170125.231625.778055316669261176.davem () davemloft ! net
[Download RAW message or body]

From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 25 Jan 2017 23:29:33 +0100

> 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>

Applied, thank you.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic