From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Triplett Subject: Re: [PATCH] drivers: cpufreq: Remove unused function in cpufreq.c Date: Wed, 26 Feb 2014 08:13:26 -0800 Message-ID: <20140226161325.GA17358@thin> References: <20140226154625.GA10701@rashika> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40500 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500AbaBZQNf convert rfc822-to-8bit (ORCPT ); Wed, 26 Feb 2014 11:13:35 -0500 Content-Disposition: inline In-Reply-To: <20140226154625.GA10701@rashika> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Viresh Kumar , cpufreq@vger.kernel.org, linux-pm@vger.kernel.org On Wed, Feb 26, 2014 at 09:16:25PM +0530, Rashika Kheria wrote: > Remove unused function show_boost() in drivers/cpufreq/cpufreq.c. >=20 > This eliminates the following warning in drivers/cpufreq/cpufreq.c: > drivers/cpufreq/cpufreq.c:355:9: warning: no previous prototype for =E2= =80=98show_boost=E2=80=99 [-Wmissing-prototypes] >=20 > Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett > drivers/cpufreq/cpufreq.c | 6 ------ > 1 file changed, 6 deletions(-) >=20 > 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 *a= ttr, > const char *buf, size_t count) > { > --=20 > 1.7.9.5 >=20