aux/vga/pci.c: remove useless check
This commit is contained in:
parent
bbbfbe3dc4
commit
1fdee02884
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue