bnxt_en: Convert to use netif_level() helpers.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 26 Jan 2021 06:20:24 +0000 (01:20 -0500)
committerDom Cobley <popcornmix@gmail.com>
Thu, 14 Oct 2021 11:33:00 +0000 (12:33 +0100)
commit97f80450aa9d16e54911ed2d2f54a9ebf910cef3
tree009aad0e3ed6c2cb73a15c78286fcce482a42439
parent86d73d43439c54962340c9d5e2c1c83c3d64a9b7
bnxt_en: Convert to use netif_level() helpers.

[ Upstream commit 871127e6ab0d6abb904cec81fc022baf6953be1f ]

Use the various netif_level() helpers to simplify the C code.  This was
suggested by Joe Perches.

Cc: Joe Perches <joe@perches.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/1611642024-3166-1-git-send-email-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c