ALSA: ISA: Remove superfluous *_set_drvdata(NULL) calls
[sfrench/cifs-2.6.git] / sound / isa / ad1848 / ad1848.c
index c214ecf45400a1c7de02aacaf0d68b6495ae719e..e3f455bd85cd55c12ac8d561ef0793ba96ab8c4f 100644 (file)
@@ -135,7 +135,6 @@ out:        snd_card_free(card);
 static int snd_ad1848_remove(struct device *dev, unsigned int n)
 {
        snd_card_free(dev_get_drvdata(dev));
-       dev_set_drvdata(dev, NULL);
        return 0;
 }