net: bridge: use netif_is_bridge_port()
authorJulian Wiedmann <jwi@linux.ibm.com>
Fri, 29 Mar 2019 13:38:19 +0000 (14:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 20:48:40 +0000 (13:48 -0700)
commit35f861e3c58e128f0ecb5669c43159285ea5254a
tree2fda4541bfa1905a3ecd340aebf042fe57c8a8fa
parentacb10eac5100ba905ac4d54d698348210666b27a
net: bridge: use netif_is_bridge_port()

Replace the br_port_exists() macro with its twin from netdevice.h

CC: Roopa Prabhu <roopa@cumulusnetworks.com>
CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c
net/bridge/br_multicast.c
net/bridge/br_netlink.c
net/bridge/br_private.h