hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/sound/synth/emux/emux_proc.c
....@@ -1,21 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
34 *
45 * Proc interface for Emu8k/Emu10k1 WaveTable synth
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #include <linux/wait.h>
....@@ -115,10 +102,6 @@
115102 entry->content = SNDRV_INFO_CONTENT_TEXT;
116103 entry->private_data = emu;
117104 entry->c.text.read = snd_emux_proc_info_read;
118
- if (snd_info_register(entry) < 0)
119
- snd_info_free_entry(entry);
120
- else
121
- emu->proc = entry;
122105 }
123106
124107 void snd_emux_proc_free(struct snd_emux *emu)