forked from enlightenment/enlightenment
e cpufreq - stop checking status nullness - silence coverity
status is a msg from the child thread. it's never null. checks before sending should guarantee that. fix CID 1365406
This commit is contained in:
parent
69f757edad
commit
8ea03a039f
|
@ -1321,7 +1321,7 @@ _cpufreq_cb_frequency_check_notify(void *data EINA_UNUSED,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
active = cpufreq_config->status->active;
|
active = cpufreq_config->status->active;
|
||||||
if ((cpufreq_config->status) && (status) &&
|
if ((cpufreq_config->status) &&
|
||||||
(
|
(
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
(status->cur_percent != cpufreq_config->status->cur_percent ) ||
|
(status->cur_percent != cpufreq_config->status->cur_percent ) ||
|
||||||
|
|
Loading…
Reference in New Issue