summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-16 13:55:41 +0300
committermonsta <[email protected]>2016-08-16 13:55:41 +0300
commita708224decae0f7417aa38b926318fa32747b161 (patch)
tree96281dc2fd3233f229fee72735045c6cb0b2de44
parenta1f837c68f2b7aead7a79663a6efe326fc8dfec7 (diff)
downloadmate-applets-a708224decae0f7417aa38b926318fa32747b161.tar.bz2
mate-applets-a708224decae0f7417aa38b926318fa32747b161.tar.xz
cpufreq: remove useless #include
there's implicit declaration warning with or without it, see https://bugzilla.kernel.org/show_bug.cgi?id=153161
-rw-r--r--cpufreq/src/cpufreq-monitor-libcpufreq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c
index 5fe79fbe..228a8909 100644
--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c
+++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c
@@ -25,9 +25,6 @@
#include <stdlib.h>
#include <linux/version.h>
#include <cpufreq.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
-#include <cpuidle.h>
-#endif
#include "cpufreq-monitor-libcpufreq.h"
#include "cpufreq-utils.h"