bnxt: use netif_is_rxfh_configured instead of open code
authorJuhee Kang <claudiajkang@gmail.com>
Sun, 10 Oct 2021 04:03:27 +0000 (13:03 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Oct 2021 10:18:48 +0000 (11:18 +0100)
commit4b70dce2c1b93930fe4728a221a8d8e674c271c5
tree56345f0aeadbc13b1cdef765160e31b581ba7ee7
parent154ee116320dab4f619c7986c36054a431fa14bb
bnxt: use netif_is_rxfh_configured instead of open code

The open code which is dev->priv_flags & IFF_RXFH_CONFIGURED is defined as
a helper function on netdevice.h. So use netif_is_rxfh_configured()
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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c