From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751839Ab0HRXC6 (ORCPT ); Wed, 18 Aug 2010 19:02:58 -0400 Received: from mga09.intel.com ([134.134.136.24]:37213 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520Ab0HRXC4 (ORCPT ); Wed, 18 Aug 2010 19:02:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.56,229,1280732400"; d="scan'208";a="546610545" From: "Fenghua Yu" To: "Rudolf Marek" , "Huaxu Wan" , "H Peter Anvin" , "Chen Gong" , "Jean Delvare" Cc: "linux-kernel" , "lm-sensors" , Fenghua Yu Subject: [PATCH] drivers/hwmon/coretemp: Remove warnings of unused variables Date: Wed, 18 Aug 2010 15:53:46 -0700 Message-Id: <1282172027-640-2-git-send-email-fenghua.yu@intel.com> X-Mailer: git-send-email 1.7.2 In-Reply-To: <1282172027-640-1-git-send-email-fenghua.yu@intel.com> References: <1282172027-640-1-git-send-email-fenghua.yu@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fenghua Yu Remove compilation warnings of unused variables p and n in coretemp_init(). Signed-off-by: Fenghua Yu --- drivers/hwmon/coretemp.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index c070c97..de81111 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c @@ -518,7 +518,6 @@ static struct notifier_block coretemp_cpu_notifier __refdata = { static int __init coretemp_init(void) { int i, err = -ENODEV; - struct pdev_entry *p, *n; /* quick check if we run Intel */ if (cpu_data(0).x86_vendor != X86_VENDOR_INTEL) -- 1.6.0.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fenghua Yu" Date: Wed, 18 Aug 2010 22:53:46 +0000 Subject: [lm-sensors] [PATCH] drivers/hwmon/coretemp: Remove warnings of Message-Id: <1282172027-640-2-git-send-email-fenghua.yu@intel.com> List-Id: References: <1282172027-640-1-git-send-email-fenghua.yu@intel.com> In-Reply-To: <1282172027-640-1-git-send-email-fenghua.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Rudolf Marek , Huaxu Wan , H Peter Anvin , Chen Gong , Jean Delvare Cc: linux-kernel , lm-sensors , Fenghua Yu From: Fenghua Yu Remove compilation warnings of unused variables p and n in coretemp_init(). Signed-off-by: Fenghua Yu --- drivers/hwmon/coretemp.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index c070c97..de81111 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c @@ -518,7 +518,6 @@ static struct notifier_block coretemp_cpu_notifier __refdata = { static int __init coretemp_init(void) { int i, err = -ENODEV; - struct pdev_entry *p, *n; /* quick check if we run Intel */ if (cpu_data(0).x86_vendor != X86_VENDOR_INTEL) -- 1.6.0.3 _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors