aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/gus/gusclassic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-05-29 06:49:32 -0400
committerTakashi Iwai <tiwai@suse.de>2013-05-29 06:50:28 -0400
commit8b5a1f9c46c2b78716794b8762edf659ec25a87d (patch)
tree33c21c8d78f7ab36321fbe877f76c802de0a4aea /sound/isa/gus/gusclassic.c
parentd2c69807156b8c162ce3f1e37b220d03d57af063 (diff)
ALSA: ISA: Remove superfluous *_set_drvdata(NULL) calls
Similarly like the previous commit for PCI drivers, remove dev_set_drvdata(NULL) and pnp_set_drvdata(NULL) calls in ISA drivers now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/gus/gusclassic.c')
-rw-r--r--sound/isa/gus/gusclassic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/isa/gus/gusclassic.c b/sound/isa/gus/gusclassic.c
index 16bca4e96c08..1adc1b924f39 100644
--- a/sound/isa/gus/gusclassic.c
+++ b/sound/isa/gus/gusclassic.c
@@ -215,7 +215,6 @@ out: snd_card_free(card);
215static int snd_gusclassic_remove(struct device *dev, unsigned int n) 215static int snd_gusclassic_remove(struct device *dev, unsigned int n)
216{ 216{
217 snd_card_free(dev_get_drvdata(dev)); 217 snd_card_free(dev_get_drvdata(dev));
218 dev_set_drvdata(dev, NULL);
219 return 0; 218 return 0;
220} 219}
221 220