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:
Carsten Haitzler 2017-05-11 17:13:30 +09:00
parent 69f757edad
commit 8ea03a039f
1 changed files with 1 additions and 1 deletions

View File

@ -1321,7 +1321,7 @@ _cpufreq_cb_frequency_check_notify(void *data EINA_UNUSED,
return;
}
active = cpufreq_config->status->active;
if ((cpufreq_config->status) && (status) &&
if ((cpufreq_config->status) &&
(
#ifdef __OpenBSD__
(status->cur_percent != cpufreq_config->status->cur_percent ) ||