projects
/
firefly-linux-kernel-4.4.55.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
[firefly-linux-kernel-4.4.55.git]
/
sound
/
isa
/
gus
/
gusmax.c
diff --git
a/sound/isa/gus/gusmax.c
b/sound/isa/gus/gusmax.c
index c309a5d0e7e12e0eba6a3fc8a4d1414aebf5408c..652d5d834620daa453caf9390b618e1fcc46afa6 100644
(file)
--- a/
sound/isa/gus/gusmax.c
+++ b/
sound/isa/gus/gusmax.c
@@
-357,7
+357,6
@@
static int snd_gusmax_probe(struct device *pdev, unsigned int dev)
static int snd_gusmax_remove(struct device *devptr, unsigned int dev)
{
snd_card_free(dev_get_drvdata(devptr));
- dev_set_drvdata(devptr, NULL);
return 0;
}