summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc/pci.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/src/9/pc/pci.c b/sys/src/9/pc/pci.c
index 370a7bd50..a2915da1d 100644
--- a/sys/src/9/pc/pci.c
+++ b/sys/src/9/pc/pci.c
@@ -1050,11 +1050,10 @@ pcicfginit(void)
pcibusmap(pciroot, &mema, &ioa, 1);
DBG("Sizes2: mem=%lux io=%lux\n", mema, ioa);
- unlock(&pcicfginitlock);
- return;
+ goto out;
}
- if (!nopcirouting)
+ if(!nopcirouting)
pcirouting();
out: