Skip to content

Commit

Permalink
ALSA: sound/pci/asihpi/hpioctl.c: Remove unnecessary casts of pci_get…
Browse files Browse the repository at this point in the history
…_drvdata

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Joe Perches authored and Takashi Iwai committed Nov 22, 2010
1 parent c80c1d5 commit 5dbea6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/asihpi/hpioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5dbea6b

Please sign in to comment.