]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-use-helpers'
authorDavid S. Miller <davem@davemloft.net>
Sun, 10 Oct 2021 10:18:48 +0000 (11:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Oct 2021 10:18:48 +0000 (11:18 +0100)
commitef0539b843063a16edf0a6729196ae60c45c3c49
treedae754be17be8f94adae162721c50339976b76a2
parent3b118f02c5f669ecf61edbf6505000eee7505624
parentfe9f35cace0482bd57e8312fa3454ba86ebe5d42
Merge branch 'net-use-helpers'

Juhee Kang says:

====================
net-next: replace open code with helper functions

Currently, there are many helper functions on netdevice.h. However,
some code doesn't use the helper functions and remains open code.
So this patchset replaces open code with an appropriate helper function.

First patch modifies to use netif_is_rxfh_configured instead of
dev->priv_flags & IFF_RXFH_CONFIGURED.
Second patch replaces open code with netif_is_bond_master.
Last patch substitutes netif_is_macsec() for dev->priv_flags & IFF_MACSEC.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>