summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_stats.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-01-06 16:39:02 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-01-23 23:06:43 +0100
commit43b9cdaf5c22230269b8edd99ec78380a6ac0715 (patch)
treeeec9e4b251550835514f4f2480554218a68b1a80 /drivers/cpufreq/cpufreq_stats.c
parentcpufreq: stats: return -EEXIST when stats are already allocated (diff)
downloadlinux-43b9cdaf5c22230269b8edd99ec78380a6ac0715.tar.xz
linux-43b9cdaf5c22230269b8edd99ec78380a6ac0715.zip
cpufreq: stats: remove unused cpufreq_stats_attribute
It was never used, but is there since the first commit. Remove it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_stats.c')
-rw-r--r--drivers/cpufreq/cpufreq_stats.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c
index d2299ca2fc2c..14f8d858a63d 100644
--- a/drivers/cpufreq/cpufreq_stats.c
+++ b/drivers/cpufreq/cpufreq_stats.c
@@ -33,11 +33,6 @@ struct cpufreq_stats {
static DEFINE_PER_CPU(struct cpufreq_stats *, cpufreq_stats_table);
-struct cpufreq_stats_attribute {
- struct attribute attr;
- ssize_t(*show) (struct cpufreq_stats *, char *);
-};
-
static int cpufreq_stats_update(unsigned int cpu)
{
struct cpufreq_stats *stat;