Loading
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: 29cb3b8d ("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>