git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: ISA: Remove superfluous *_set_drvdata(NULL) calls
[pandora-kernel.git]
/
sound
/
isa
/
cs423x
/
cs4236.c
diff --git
a/sound/isa/cs423x/cs4236.c
b/sound/isa/cs423x/cs4236.c
index
252e9fb
..
69614ac
100644
(file)
--- a/
sound/isa/cs423x/cs4236.c
+++ b/
sound/isa/cs423x/cs4236.c
@@
-504,7
+504,6
@@
static int snd_cs423x_isa_remove(struct device *pdev,
unsigned int dev)
{
snd_card_free(dev_get_drvdata(pdev));
- dev_set_drvdata(pdev, NULL);
return 0;
}
@@
-600,7
+599,6
@@
static int snd_cs423x_pnpbios_detect(struct pnp_dev *pdev,
static void snd_cs423x_pnp_remove(struct pnp_dev *pdev)
{
snd_card_free(pnp_get_drvdata(pdev));
- pnp_set_drvdata(pdev, NULL);
}
#ifdef CONFIG_PM