PCI: Remove useless redundant code
[firefly-linux-kernel-4.4.55.git] / drivers / pci / pci.c
index 29b560591d54b4603ed11d89f116c50d2c1cb1e2..359b954670e6192598c68ef90725ca273f8df1c9 100644 (file)
@@ -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;