bnxt_en: refactor bnxt_cancel_reservations()
authorVikas Gupta <vikas.gupta@broadcom.com>
Thu, 3 Nov 2022 23:33:24 +0000 (19:33 -0400)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Nov 2022 02:29:01 +0000 (19:29 -0700)
commitb4c66425771ddb910316c7b4cd7fa0614098ec45
treebdbf1b293c5a52d76f4cd803b45fd8e74074b035
parent1118b2049d77ca0b505775fc1a8d1909cf19a7ec
bnxt_en: refactor bnxt_cancel_reservations()

Introduce bnxt_clear_reservations() to clear the reserved attributes only.
This will be used in the next patch to fix PCI AER handling.

Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c