linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Jiri Kosina <trivial@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: [PATCH 11/11] sound/pci/asihpi/hpioctl.c: Remove unnecessary casts of pci_get_drvdata
Date: Mon, 15 Nov 2010 12:14:02 -0800	[thread overview]
Message-ID: <1741bc5f7050b5ebb7014b8d93fdb70490ec7f06.1289851770.git.joe@perches.com> (raw)
In-Reply-To: <cover.1289851770.git.joe@perches.com>

Signed-off-by: Joe Perches <joe@perches.com>
---
 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


  parent reply	other threads:[~2010-11-15 20:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 20:13 [PATCH 00/11] Remove unnecessary casts of pci_get_drvdata Joe Perches
2010-11-15 20:13 ` [PATCH 01/11] drivers/i2c/busses/i2c-nforce2.c: " Joe Perches
2010-11-15 21:06   ` Jean Delvare
2010-11-15 20:13 ` [PATCH 02/11] drivers/ide/pmac.c: " Joe Perches
2010-11-22 19:38   ` David Miller
2010-11-15 20:13 ` [PATCH 03/11] drivers/media/dvb/ngene/ngene-core.c: " Joe Perches
2010-11-15 20:13 ` [PATCH 04/11] drivers/misc/ibmasm/module.c: " Joe Perches
2010-11-15 20:13 ` [PATCH 05/11] drivers/net/irda: " Joe Perches
2010-11-16 11:27   ` Samuel Ortiz
2010-11-15 20:13 ` [PATCH 06/11] drivers/net/s2io.c: " Joe Perches
2010-11-17 20:28   ` David Miller
2010-11-15 20:13 ` [PATCH 07/11] drivers/net/vxge/vxge-main.c: " Joe Perches
2010-11-15 22:50   ` Jon Mason
2010-11-17 20:28     ` David Miller
2010-11-15 20:13 ` [PATCH 08/11] drivers/scsi/be2iscsi/be_main.c: " Joe Perches
2010-11-15 20:14 ` [PATCH 09/11] drivers/staging: " Joe Perches
2010-11-15 20:14 ` [PATCH 10/11] drivers/usb/host/uhci-hcd.c: " Joe Perches
2010-11-15 20:54   ` Alan Stern
2010-11-15 20:14 ` Joe Perches [this message]
2010-11-22  6:44   ` [PATCH 11/11] sound/pci/asihpi/hpioctl.c: " Takashi Iwai

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=1741bc5f7050b5ebb7014b8d93fdb70490ec7f06.1289851770.git.joe@perches.com \
    --to=joe@perches.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).