Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752254Ab0KVGon (ORCPT ); Mon, 22 Nov 2010 01:44:43 -0500 Received: from cantor2.suse.de ([195.135.220.15]:51781 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751342Ab0KVGom (ORCPT ); Mon, 22 Nov 2010 01:44:42 -0500 Date: Mon, 22 Nov 2010 07:44:40 +0100 Message-ID: From: Takashi Iwai To: Joe Perches Cc: Jiri Kosina , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 11/11] sound/pci/asihpi/hpioctl.c: Remove unnecessary casts of pci_get_drvdata In-Reply-To: <1741bc5f7050b5ebb7014b8d93fdb70490ec7f06.1289851770.git.joe@perches.com> References: <1741bc5f7050b5ebb7014b8d93fdb70490ec7f06.1289851770.git.joe@perches.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1056 Lines: 36 At Mon, 15 Nov 2010 12:14:02 -0800, Joe Perches wrote: > > Signed-off-by: Joe Perches Applied this one, too. Thanks. Takashi > --- > sound/pci/asihpi/hpioctl.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/sound/pci/asihpi/hpioctl.c b/sound/pci/asihpi/hpioctl.c > index 62895a7..22dbd91 100644 > --- a/sound/pci/asihpi/hpioctl.c > +++ b/sound/pci/asihpi/hpioctl.c > @@ -435,7 +435,7 @@ void __devexit asihpi_adapter_remove(struct pci_dev *pci_dev) > struct hpi_message hm; > struct hpi_response hr; > struct hpi_adapter *pa; > - pa = (struct hpi_adapter *)pci_get_drvdata(pci_dev); > + pa = pci_get_drvdata(pci_dev); > > hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, > HPI_SUBSYS_DELETE_ADAPTER); > -- > 1.7.3.1.g432b3.dirty > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/