ALSA: emux: Remove superfluous snd_info_register() calls
[sfrench/cifs-2.6.git] / sound / synth / emux / emux_proc.c
index a82b4053bee855be16ed74e2b1f6bc3fc548ac04..c14781ac794179a66e09835e30c90d8c04856f43 100644 (file)
@@ -115,10 +115,6 @@ void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device)
        entry->content = SNDRV_INFO_CONTENT_TEXT;
        entry->private_data = emu;
        entry->c.text.read = snd_emux_proc_info_read;
-       if (snd_info_register(entry) < 0)
-               snd_info_free_entry(entry);
-       else
-               emu->proc = entry;
 }
 
 void snd_emux_proc_free(struct snd_emux *emu)