From patchwork Fri Jan 8 18:12:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 71853 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o08IV8hh027682 for ; Fri, 8 Jan 2010 18:31:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753432Ab0AHSal (ORCPT ); Fri, 8 Jan 2010 13:30:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753174Ab0AHSak (ORCPT ); Fri, 8 Jan 2010 13:30:40 -0500 Received: from [206.15.93.42] ([206.15.93.42]:28752 "EHLO visionfs1.visionengravers.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753316Ab0AHSai (ORCPT ); Fri, 8 Jan 2010 13:30:38 -0500 X-Greylist: delayed 1071 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Jan 2010 13:30:37 EST From: H Hartley Sweeten To: Linux Kernel , linux-acpi@vger.kernel.org Subject: [PATCH] drivers/acpi: Remove unnecessary cast Date: Fri, 8 Jan 2010 11:12:41 -0700 Cc: rui.zhang@intel.com, lenb@kernel.org MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201001081112.41469.hartleys@visionengravers.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index 140c5c5..6deafb4 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c @@ -443,8 +443,7 @@ struct thermal_cooling_device_ops processor_cooling_ops = { #ifdef CONFIG_ACPI_PROCFS static int acpi_processor_limit_seq_show(struct seq_file *seq, void *offset) { - struct acpi_processor *pr = (struct acpi_processor *)seq->private; - + struct acpi_processor *pr = seq->private; if (!pr) goto end;