From: Bjorn Helgaas Date: Tue, 14 Jul 2015 21:41:19 +0000 (-0500) Subject: PCI: Remove useless redundant code X-Git-Tag: v4.14-rc1~4826^2^3~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aaed816fde8501ed86bb62c4d7f7b137969afc7e;p=platform%2Fkernel%2Flinux-rpi.git PCI: Remove useless redundant code Remove redundant code from __pci_bus_find_cap_start(). No functional change. Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 29b5605..359b954 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -195,8 +195,6 @@ static int __pci_bus_find_cap_start(struct pci_bus *bus, return PCI_CAPABILITY_LIST; case PCI_HEADER_TYPE_CARDBUS: return PCI_CB_CAPABILITY_LIST; - default: - return 0; } return 0;