All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: Len Brown <len.brown@intel.com>
Cc: linux-acpi@vger.kernel.org
Subject: [PATCH] ACPI: remove unused static functions
Date: Tue, 07 Dec 2010 14:50:57 +0000	[thread overview]
Message-ID: <4CFE57E102000078000266E6@vpn.id2.novell.com> (raw)

..., fixing respective compiler warnings when !CPU_FREQ.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

---
 drivers/acpi/processor_thermal.c |   10 ----------
 1 file changed, 10 deletions(-)

--- linux-2.6.37-rc5/drivers/acpi/processor_thermal.c
+++ 2.6.37-rc5-acpi-cpufreq-warning/drivers/acpi/processor_thermal.c
@@ -155,16 +155,6 @@ static int cpufreq_set_cur_state(unsigne
 {
 	return 0;
 }
-
-static int acpi_thermal_cpufreq_increase(unsigned int cpu)
-{
-	return -ENODEV;
-}
-static int acpi_thermal_cpufreq_decrease(unsigned int cpu)
-{
-	return -ENODEV;
-}
-
 #endif
 
 int acpi_processor_get_limit_info(struct acpi_processor *pr)




             reply	other threads:[~2010-12-07 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 14:50 Jan Beulich [this message]
2010-12-11  5:57 ` [PATCH] ACPI: remove unused static functions Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CFE57E102000078000266E6@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.