]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/ppc/powermac.c
ALSA: powermac: Remove redundant platform_set_drvdata()
[karo-tx-linux.git] / sound / ppc / powermac.c
index 09fc848d32ecd475951f09513e492e78a03d2a1c..8abb521b4814b413a9423edf48bf2d7e41c08e2e 100644 (file)
@@ -139,7 +139,6 @@ __error:
 static int snd_pmac_remove(struct platform_device *devptr)
 {
        snd_card_free(platform_get_drvdata(devptr));
-       platform_set_drvdata(devptr, NULL);
        return 0;
 }