qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
Dinghao Liu authored
[ Upstream commit 9ddbc2a0 ]

Previous commit 68233c58 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: 68233c58

 ("qlcnic: updated reset sequence")
Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
2b6c8100
Name Last commit Last update
Documentation dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes"
arch ARC: export clear_user_page() for modules
block block, bfq: honor already-setup queue merges
certs certs: Trigger creation of RSA module signing key if it's not an RSA key
crypto crypto: ecc - handle unaligned input buffer in ecc_swap_digits
drivers qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
fs io_uring: retry in case of short read on block device
include fq_codel: reject silly quantum parameters
init init: Suppress wrong warning for bootconfig cmdline parameter
ipc Merge branch 'akpm' (patches from Andrew)
kernel tracing/boot: Fix a hist trigger dependency for boot time tracing
lib lib/test_stackinit: Fix static initializer test
mm mm/mempolicy: fix a race between offset_il_node and mpol_rebind_task
net fq_codel: reject silly quantum parameters
samples samples: pktgen: fix to print when terminated normally
scripts gen_compile_commands: fix missing 'sys' package
security Smack: Fix wrong semantics in smk_access_entry()
sound ASoC: soc-pcm: protect BE dailink state changes in trigger
tools selftests: mptcp: clean tmp files in simult_flows
usr .gitignore: prefix local generated files with a slash
virt KVM: Do not leak memory for duplicate debugfs directories
.clang-format clang-format: Update with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.