ALSA: ISA: Remove superfluous *_set_drvdata(NULL) calls
[firefly-linux-kernel-4.4.55.git] / sound / isa / gus / gusmax.c
index c309a5d0e7e12e0eba6a3fc8a4d1414aebf5408c..652d5d834620daa453caf9390b618e1fcc46afa6 100644 (file)
@@ -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;
 }