summaryrefslogtreecommitdiff
path: root/src/common_bridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common_bridge.c')
-rw-r--r--src/common_bridge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common_bridge.c b/src/common_bridge.c
index f37420f..2609d7c 100644
--- a/src/common_bridge.c
+++ b/src/common_bridge.c
@@ -270,10 +270,6 @@ pci_device_get_bridge_buses(struct pci_device * dev, int *primary_bus,
return ENODEV;
}
- if (!priv->bridge.pci) {
- return ENODEV;
- }
-
switch ((dev->device_class >> 8) & 0x0ff) {
case 0x00:
/* What to do for host bridges? I'm pretty sure this isn't right.