projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c6744
)
cpufreq: stats: remove unused cpufreq_stats_attribute
author
Viresh Kumar
<viresh.kumar@linaro.org>
Tue, 6 Jan 2015 15:39:02 +0000
(21:09 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 22:06:43 +0000
(23:06 +0100)
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>
drivers/cpufreq/cpufreq_stats.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq_stats.c
b/drivers/cpufreq/cpufreq_stats.c
index d2299ca2fc2c296ce06708ce2b313f55db395bf5..14f8d858a63d792b975aba84c39f274dc91c431f 100644
(file)
--- 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;