]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Remove redundant 'rc' initialization
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Sep 2021 16:14:17 +0000 (17:14 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 26 Oct 2021 21:35:19 +0000 (16:35 -0500)
commitc26500ce57a364648c651b58344c0814d230441a
tree75b8a5b176b2729d6f19743619a609f9050b9ead
parent98df1933ac22399f8e872a7f67750e5a8f294983
PCI: Remove redundant 'rc' initialization

The variable 'rc' is being initialized with a value that is never read.
Remove the redundant assignment.

Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210910161417.91001-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
drivers/pci/pci.c