diff options
| author | 2022-07-21 19:26:48 +0900 | |
|---|---|---|
| committer | 2022-07-22 12:35:45 +0100 | |
| commit | c497885e3044ad92a849cc4433c769f0b66374ab (patch) | |
| tree | abc7eab26b746b39c8d443df9b728b94f0937798 /include/net/netns/unix.h | |
| parent | mlxsw: use netif_is_any_bridge_port() instead of open code (diff) | |
| download | linux-rng-c497885e3044ad92a849cc4433c769f0b66374ab.tar.xz linux-rng-c497885e3044ad92a849cc4433c769f0b66374ab.zip | |
net: marvell: prestera: use netif_is_any_bridge_port instead of open code
The open code which is netif_is_bridge_port() || netif_is_ovs_port() is
defined as a new helper function on netdev.h like netif_is_any_bridge_port
that can check both IFF flags in 1 go. So use netif_is_any_bridge_port()
function instead of open code. This patch doesn't change logic.
Signed-off-by: Juhee Kang <claudiajkang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/unix.h')
0 files changed, 0 insertions, 0 deletions
