eth: bnxt: take the bit to set as argument of bnxt_queue_sp_work()
authorJakub Kicinski <kuba@kernel.org>
Thu, 20 Jul 2023 01:04:39 +0000 (18:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Jul 2023 03:09:13 +0000 (20:09 -0700)
commit9b1a00fda61ee9874e11c24c6be7ddc36e8a4598
tree4659388dcd104a67eeac56b19df785e437ca7112
parentfea2993aecd74d5d11ede1ebbd60e478ebfed996
eth: bnxt: take the bit to set as argument of bnxt_queue_sp_work()

Most callers of bnxt_queue_sp_work() set a bit to indicate what work
to perform right before calling it. Pass it to the function instead.

Link: https://lore.kernel.org/r/20230720010440.1967136-3-kuba@kernel.org
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c