commit | aaed816fde8501ed86bb62c4d7f7b137969afc7e | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Tue Jul 14 16:41:19 2015 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jul 14 23:35:37 2015 -0500 |
tree | acfe23fcee021e73b4eb3bee624f6477a54fe329 | |
parent | 0a1a9b49427f13b6e12366eb8f06b8094ab61447 [diff] |
PCI: Remove useless redundant code Remove redundant code from __pci_bus_find_cap_start(). No functional change. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
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 @@ return PCI_CAPABILITY_LIST; case PCI_HEADER_TYPE_CARDBUS: return PCI_CB_CAPABILITY_LIST; - default: - return 0; } return 0;