All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: cpufreq: Remove unused function in cpufreq.c
@ 2014-02-26 15:46 Rashika Kheria
  2014-02-26 16:13 ` Josh Triplett
  2014-02-26 16:42 ` [PATCH v3] drivers: cpufreq: Mark function as static " Rashika Kheria
  0 siblings, 2 replies; 6+ messages in thread
From: Rashika Kheria @ 2014-02-26 15:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: Rafael J. Wysocki, Viresh Kumar, cpufreq, linux-pm, josh

Remove unused function show_boost() in drivers/cpufreq/cpufreq.c.

This eliminates the following warning in drivers/cpufreq/cpufreq.c:
drivers/cpufreq/cpufreq.c:355:9: warning: no previous prototype for ‘show_boost’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
---
 drivers/cpufreq/cpufreq.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 08ca8c9..6dce474 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -352,12 +352,6 @@ EXPORT_SYMBOL_GPL(cpufreq_notify_post_transition);
 /*********************************************************************
  *                          SYSFS INTERFACE                          *
  *********************************************************************/
-ssize_t show_boost(struct kobject *kobj,
-				 struct attribute *attr, char *buf)
-{
-	return sprintf(buf, "%d\n", cpufreq_driver->boost_enabled);
-}
-
 static ssize_t store_boost(struct kobject *kobj, struct attribute *attr,
 				  const char *buf, size_t count)
 {
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-26 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26 15:46 [PATCH] drivers: cpufreq: Remove unused function in cpufreq.c Rashika Kheria
2014-02-26 16:13 ` Josh Triplett
2014-02-26 16:42 ` [PATCH v3] drivers: cpufreq: Mark function as static " Rashika Kheria
2014-02-26 21:56   ` Rafael J. Wysocki
2014-02-26 22:16     ` josh
2014-02-27  0:07       ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.