Don't need to check for . and .. ecore_file_ls removes them.

SVN revision: 16428
This commit is contained in:
sebastid 2005-08-30 11:29:24 +00:00 committed by sebastid
parent ef9b5bd806
commit de9cde27b6
1 changed files with 0 additions and 5 deletions

View File

@ -856,11 +856,6 @@ _battery_linux_acpi_check(Battery *ef)
{
FILE *f;
if ((!strcmp(name, ".")) || (!strcmp(name, "..")))
{
free(name);
continue;
}
snprintf(buf, sizeof(buf), "/proc/acpi/battery/%s/info", name);
f = fopen(buf, "r");
if (f)