team: use netif_is_team_port()
authorJulian Wiedmann <jwi@linux.ibm.com>
Fri, 29 Mar 2019 13:37:07 +0000 (14:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 20:48:11 +0000 (13:48 -0700)
commitacb10eac5100ba905ac4d54d698348210666b27a
tree7f93180aa915df21c1958bbc3329c012b8a3652a
parent9f764898c73d21fac3ff22b20826f15418345a60
team: use netif_is_team_port()

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

CC: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c