OSDN Git Service

bridge: mcast: fix br_multicast_dev_del warn when igmp snooping is not defined
authorNikolay Aleksandrov <razor@blackwall.org>
Mon, 20 Jul 2015 21:03:45 +0000 (23:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2015 23:19:03 +0000 (16:19 -0700)
commita7ce45a74bedd0ed80b956b3e14f8bc6dec85327
tree1ee4021d2aafddded9d3e10af627b6e753f6cf31
parenta0a9f33bdf8bf9061c31faab46d8eb46ff644622
bridge: mcast: fix br_multicast_dev_del warn when igmp snooping is not defined

Fix:
net/bridge/br_if.c: In function 'br_dev_delete':
>> net/bridge/br_if.c:284:2: error: implicit declaration of function
>> 'br_multicast_dev_del' [-Werror=implicit-function-declaration]
     br_multicast_dev_del(br);
     ^
   cc1: some warnings being treated as errors

when igmp snooping is not defined.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h