net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 20 Feb 2020 08:00:07 +0000 (09:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Feb 2020 18:10:32 +0000 (10:10 -0800)
commit2e92a2d0e450740ebe7e7a816162327ad1fde94b
tree82023383131c37dce355f55564a9cd54b812fd32
parent458de8a97f107e1b6120d608b93ae9e3de019a2e
net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT

Trivial cleanup, so that all bridge port-specific code can be found in
one go.

CC: Johannes Berg <johannes@sipsolutions.net>
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/ethernet/micrel/ksz884x.c
net/core/rtnetlink.c
net/wireless/nl80211.c
net/wireless/util.c