diff options
Diffstat (limited to 'sound/parisc/harmony.c')
-rw-r--r-- | sound/parisc/harmony.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c index 0e66ba48d453..67f56a2cee6a 100644 --- a/sound/parisc/harmony.c +++ b/sound/parisc/harmony.c | |||
@@ -902,8 +902,6 @@ snd_harmony_free(struct snd_harmony *h) | |||
902 | if (h->iobase) | 902 | if (h->iobase) |
903 | iounmap(h->iobase); | 903 | iounmap(h->iobase); |
904 | 904 | ||
905 | parisc_set_drvdata(h->dev, NULL); | ||
906 | |||
907 | kfree(h); | 905 | kfree(h); |
908 | return 0; | 906 | return 0; |
909 | } | 907 | } |
@@ -1016,7 +1014,6 @@ static int | |||
1016 | snd_harmony_remove(struct parisc_device *padev) | 1014 | snd_harmony_remove(struct parisc_device *padev) |
1017 | { | 1015 | { |
1018 | snd_card_free(parisc_get_drvdata(padev)); | 1016 | snd_card_free(parisc_get_drvdata(padev)); |
1019 | parisc_set_drvdata(padev, NULL); | ||
1020 | return 0; | 1017 | return 0; |
1021 | } | 1018 | } |
1022 | 1019 | ||