ALSA: msnd: Remove always NULL parameter
[firefly-linux-kernel-4.4.55.git] / sound / isa / msnd / msnd.c
index 1cee18fb28a8941975e0caf752b9c65102053761..835d4aa26761e5beea169912cbdde1a884036d89 100644 (file)
@@ -679,8 +679,7 @@ static struct snd_pcm_ops snd_msnd_capture_ops = {
 };
 
 
-int snd_msnd_pcm(struct snd_card *card, int device,
-                       struct snd_pcm **rpcm)
+int snd_msnd_pcm(struct snd_card *card, int device)
 {
        struct snd_msnd *chip = card->private_data;
        struct snd_pcm  *pcm;
@@ -696,9 +695,6 @@ int snd_msnd_pcm(struct snd_card *card, int device,
        pcm->private_data = chip;
        strcpy(pcm->name, "Hurricane");
 
-
-       if (rpcm)
-               *rpcm = pcm;
        return 0;
 }
 EXPORT_SYMBOL(snd_msnd_pcm);