Przeglądaj źródła

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>
Viresh Kumar 10 lat temu
rodzic
commit
43b9cdaf5c
1 zmienionych plików z 0 dodań i 5 usunięć
  1. 0 5
      drivers/cpufreq/cpufreq_stats.c

+ 0 - 5
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;