Skip to content

Commit aaed816

Browse files
committed
PCI: Remove useless redundant code
Remove redundant code from __pci_bus_find_cap_start(). No functional change. Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 0a1a9b4 commit aaed816

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/pci/pci.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ static int __pci_bus_find_cap_start(struct pci_bus *bus,
195195
return PCI_CAPABILITY_LIST;
196196
case PCI_HEADER_TYPE_CARDBUS:
197197
return PCI_CB_CAPABILITY_LIST;
198-
default:
199-
return 0;
200198
}
201199

202200
return 0;

0 commit comments

Comments
 (0)