commit | c60882a4566a0a62dc3a40c85131103aad83dcb3 | [log] [tgz] |
---|---|---|
author | Juhee Kang <claudiajkang@gmail.com> | Sun Oct 10 13:03:28 2021 +0900 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 10 11:18:48 2021 +0100 |
tree | bcc8a2474ada8c1ded5407c7cce69680bd1bcbea | |
parent | 4b70dce2c1b93930fe4728a221a8d8e674c271c5 [diff] |
hv_netvsc: use netif_is_bond_master() instead of open code Use netif_is_bond_master() function instead of open code, which is ((event_dev->priv_flags & IFF_BONDING) && (event_dev->flags & IFF_MASTER)). This patch doesn't change logic. Signed-off-by: Juhee Kang <claudiajkang@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>