]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: shpchp: Remove unused 'rc' assignment
authorKrzysztof Wilczyński <kw@linux.com>
Wed, 23 Sep 2020 02:52:25 +0000 (02:52 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 28 Sep 2020 22:26:02 +0000 (17:26 -0500)
commit952fcb078d1b781444d4b9952b926310235dda17
tree15c664b4eb56eca6ff08f491dfb0ec1ecca4eac0
parentf108074b30e5e58cc54b6e662fee6e9b748f3d8d
PCI: shpchp: Remove unused 'rc' assignment

The value of the constant POWER_FAILURE assigned to the variable rc
after the power fault check is never used for anything, so remove it.

Addresses-Coverity-ID: 1226899 ("Unused value")
Link: https://lore.kernel.org/r/20200923025225.471459-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/shpchp_ctrl.c