summaryrefslogtreecommitdiff
path: root/sound/isa/galaxy/galaxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/galaxy/galaxy.c')
-rw-r--r--sound/isa/galaxy/galaxy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/isa/galaxy/galaxy.c b/sound/isa/galaxy/galaxy.c
index 672184e3221a..81244e7cea5b 100644
--- a/sound/isa/galaxy/galaxy.c
+++ b/sound/isa/galaxy/galaxy.c
@@ -623,7 +623,6 @@ error:
static int snd_galaxy_remove(struct device *dev, unsigned int n)
{
snd_card_free(dev_get_drvdata(dev));
- dev_set_drvdata(dev, NULL);
return 0;
}