]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ixgbe: don't initialize aci lock in ixgbe_recovery_probe()
authorKohei Enju <enjuk@amazon.com>
Thu, 11 Dec 2025 09:15:32 +0000 (18:15 +0900)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 27 Jan 2026 21:50:09 +0000 (13:50 -0800)
commit100cf7b4ca6ed770ec4287f3789b1da2e340a05a
tree1c74230a1518ade9fc64825ed9caab14f36815c6
parent638344712aefeba97b6e0d90f560815fd88abd0f
ixgbe: don't initialize aci lock in ixgbe_recovery_probe()

hw->aci.lock is already initialized in ixgbe_sw_init(), so
ixgbe_recovery_probe() doesn't need to initialize the lock. This
function is also not responsible for destroying the lock on failures.

Additionally, change the name of label in accordance with this change.

Fixes: 29cb3b8d95c7 ("ixgbe: add E610 implementation of FW recovery mode")
Reported-by: Simon Horman <horms@kernel.org>
Closes: https://lore.kernel.org/intel-wired-lan/aTcFhoH-z2btEKT-@horms.kernel.org/
Signed-off-by: Kohei Enju <enjuk@amazon.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c