macvlan: use netif_is_macvlan_port()
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 31 Jan 2019 09:48:10 +0000 (10:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2019 17:26:31 +0000 (09:26 -0800)
commit913564fbc2df0b5061c79fc203f8ddb17b30b78b
tree96e026833943e31ed2f9308252c6121bd7bd11df
parent630afc7734bac1229ef601b65769a898189e1b3d
macvlan: use netif_is_macvlan_port()

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

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c