This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 3cb4d56e95b6ae4ece582486e1d6b4a873933e1b
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Thu Jan 9 18:24:36 2025 +0000

    wizard - battery page - remove long obsolete checks
---
 src/modules/wizard/page_090.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/modules/wizard/page_090.c b/src/modules/wizard/page_090.c
index 6af14b4e3..3f812150d 100644
--- a/src/modules/wizard/page_090.c
+++ b/src/modules/wizard/page_090.c
@@ -66,21 +66,6 @@ wizard_page_show(E_Wizard_Page *pg EINA_UNUSED)
                }
           }
      }
-   dname = "/proc/acpi/battery/";
-   dir = ecore_file_ls(dname);
-   if (dir)
-     {
-        EINA_LIST_FREE(dir, file)
-          {
-             snprintf(buf, sizeof(buf), "%s/%s/state", dname, file);
-             str = read_file(buf);
-             if (str)
-               {
-                  hav_bat = 1;
-                  free(str);
-               }
-          }
-     }
 #ifdef __FreeBSD__
    do {
         int mib_state[4];

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to