summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/aux/vga/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/cmd/aux/vga/pci.c b/sys/src/cmd/aux/vga/pci.c
index 50ebc0186..8b7789ab5 100644
--- a/sys/src/cmd/aux/vga/pci.c
+++ b/sys/src/cmd/aux/vga/pci.c
@@ -23,8 +23,6 @@ pcicfginit(void)
return;
n = dirreadall(fd, &d);
close(fd);
- if(n < 0)
- return;
for(i=0; i<n; i++) {
if(strstr(d[i].name, "ctl") == nil)