aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/cpqphp_core.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2022-03-13 14:29:31 -0500
committerBjorn Helgaas <bhelgaas@google.com>2022-03-22 11:24:31 -0500
commit6f102550728838f0f83123f193740c06fdfbdd62 (patch)
tree323102cf3fea41fa0d51a038e55b532349da2d3b /drivers/pci/hotplug/cpqphp_core.c
parentPCI: kirin: Remove unused assignments (diff)
downloadlinux-dev-6f102550728838f0f83123f193740c06fdfbdd62.tar.xz
linux-dev-6f102550728838f0f83123f193740c06fdfbdd62.zip
PCI: fu740: Remove unused assignments
fu740_pcie_host_init() assigned "ret", but never used the value. Drop it. Found by Krzysztof using cppcheck: $ cppcheck --enable=all --force unreadVariable drivers/pci/controller/dwc/pcie-fu740.c:227 Variable 'ret' is assigned a value that is never used. Reported-by: Krzysztof WilczyƄski <kw@linux.com> Link: https://lore.kernel.org/r/20220313192933.434746-4-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_core.c')
0 files changed, 0 insertions, 0 deletions