lkml.org 
[lkml]   [2010]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/11] sound/pci/asihpi/hpioctl.c: Remove unnecessary casts of pci_get_drvdata
At Mon, 15 Nov 2010 12:14:02 -0800,
Joe Perches wrote:
>
> Signed-off-by: Joe Perches <joe@perches.com>

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
>


\
 
 \ /
  Last update: 2010-11-22 07:47    [W:0.076 / U:2.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site