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 f11d4a209ff6d2a083ca8143f52539bae3f1511f
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Tue Dec 3 18:10:13 2024 +0000

    cpufreq - missed it - version handled above. no need to do again
---
 src/modules/cpufreq/e_mod_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/cpufreq/e_mod_main.c b/src/modules/cpufreq/e_mod_main.c
index bedd756da..f3a2c9925 100644
--- a/src/modules/cpufreq/e_mod_main.c
+++ b/src/modules/cpufreq/e_mod_main.c
@@ -454,9 +454,9 @@ e_modapi_init(E_Module *m)
        (cpufreq_config->config_version != CPUFREQ_CONFIG_VERSION))
      E_FREE(cpufreq_config);
 
-   if ((!cpufreq_config) || (cpufreq_config->config_version < CPUFREQ_CONFIG_VERSION))
+   if (!cpufreq_config)
      {
-       if (!cpufreq_config) cpufreq_config = E_NEW(Config, 1);
+        cpufreq_config = E_NEW(Config, 1);
         cpufreq_config->config_version = CPUFREQ_CONFIG_VERSION;
         cpufreq_config->check_interval = 0.2;
         cpufreq_config->power_lo       = 0;

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

Reply via email to