Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
Previous commit 68233c5 removes the qlcnic_rom_lock() in qlcnic_pinit_from_rom(), but remains its corresponding unlock function, which is odd. I'm not very sure whether the lock is missing, or the unlock is redundant. This bug is suggested by a static analysis tool, please advise. Fixes: 68233c5 ("qlcnic: updated reset sequence") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information