netdev_has_any_upper_dev — Check if device is linked to some device
bool netdev_has_any_upper_dev (
)
dev
device
Find out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.