LKML Archive on
help / color / mirror / Atom feed
From: Harvey Harrison <>
To: Ingo Molnar <>
Cc: "H. Peter Anvin" <>,
	Thomas Gleixner <>,
	LKML <>
Subject: [PATCH 5/8] x86: sparse warning in therm_throt.c
Date: Tue, 05 Feb 2008 12:42:42 -0800	[thread overview]
Message-ID: <1202244162.18081.40.camel@brick> (raw)

arch/x86/kernel/cpu/mcheck/therm_throt.c:121:2: warning: returning void-valued expression

Signed-off-by: Harvey Harrison <>
 arch/x86/kernel/cpu/mcheck/therm_throt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c
index 24885be..9b7e01d 100644
--- a/arch/x86/kernel/cpu/mcheck/therm_throt.c
+++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c
@@ -118,7 +118,7 @@ static __cpuinit int thermal_throttle_add_dev(struct sys_device *sys_dev)
 static __cpuinit void thermal_throttle_remove_dev(struct sys_device *sys_dev)
-	return sysfs_remove_group(&sys_dev->kobj, &thermal_throttle_attr_group);
+	sysfs_remove_group(&sys_dev->kobj, &thermal_throttle_attr_group);
 /* Mutex protecting device creation against CPU hotplug */

                 reply	other threads:[~2008-02-05 20:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \
    --in-reply-to=1202244162.18081.40.camel@brick \ \ \ \ \ \
    --subject='Re: [PATCH 5/8] x86: sparse warning in therm_throt.c' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).