projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1a9b4
)
PCI: Remove useless redundant code
author
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 14 Jul 2015 21:41:19 +0000
(16:41 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 15 Jul 2015 04:35:37 +0000
(23:35 -0500)
Remove redundant code from __pci_bus_find_cap_start(). No functional
change.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index 29b560591d54b4603ed11d89f116c50d2c1cb1e2..359b954670e6192598c68ef90725ca273f8df1c9 100644
(file)
--- 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;