aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2022-03-13 19:29:29 +0000
committerBjorn Helgaas <[email protected]>2022-03-22 16:23:53 +0000
commitc50762a85da6a95a96a20043ed518264b62b47df (patch)
treec53b677142a4960b6dd06e9352a0b6fb5a1e6e7e /drivers/pci/controller/dwc
parentPCI: Declare pci_filp_private only when HAVE_PCI_MMAP (diff)
downloadkernel-c50762a85da6a95a96a20043ed518264b62b47df.tar.gz
kernel-c50762a85da6a95a96a20043ed518264b62b47df.zip
PCI: Remove unused assignments
Remove variables and assignments that are never used. Found by Krzysztof using cppcheck, e.g., $ cppcheck --enable=all --force uselessAssignmentPtrArg drivers/pci/proc.c:102 Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? unreadVariable drivers/pci/setup-bus.c:1528 Variable 'old_flags' is assigned a value that is never used. Reported-by: Krzysztof WilczyƄski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions