commit | 254ec036db1123b10e23e1412c191a3cf70dce71 | [log] [tgz] |
---|---|---|
author | Kyungrok Chung <acadx0@gmail.com> | Sat Oct 16 20:21:36 2021 +0900 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 16 15:02:56 2021 +0100 |
tree | e86be44703da741c3d4ebaaf2d72bc710d8a637f | |
parent | 4e6e167bc04908c34d11f60cfbf3715eca184536 [diff] |
net: make use of helper netif_is_bridge_master() Make use of netdev helper functions to improve code readability. Replace 'dev->priv_flags & IFF_EBRIDGE' with netif_is_bridge_master(dev). Signed-off-by: Kyungrok Chung <acadx0@gmail.com> Reviewed-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>