提交 aaed816f 编写于 作者: B Bjorn Helgaas

PCI: Remove useless redundant code

Remove redundant code from __pci_bus_find_cap_start().  No functional
change.
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 0a1a9b49
...@@ -195,8 +195,6 @@ static int __pci_bus_find_cap_start(struct pci_bus *bus, ...@@ -195,8 +195,6 @@ static int __pci_bus_find_cap_start(struct pci_bus *bus,
return PCI_CAPABILITY_LIST; return PCI_CAPABILITY_LIST;
case PCI_HEADER_TYPE_CARDBUS: case PCI_HEADER_TYPE_CARDBUS:
return PCI_CB_CAPABILITY_LIST; return PCI_CB_CAPABILITY_LIST;
default:
return 0;
} }
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册