Drop always true condition

The variable 'dir' is checked in line 645:
    if (!dir)
        return AC_ERROR;
This commit is contained in:
Christian Göttsche 2021-03-24 19:36:34 +01:00
parent 3e8da0fcb6
commit 5ef3c26168
1 changed files with 1 additions and 2 deletions

View File

@ -681,7 +681,6 @@ static ACPresence procAcpiCheck(void) {
break;
}
if (dir)
closedir(dir);
return isOn;