.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de> |
---|
3 | 4 | * |
---|
4 | 5 | * 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 |
---|
19 | 6 | */ |
---|
20 | 7 | |
---|
21 | 8 | #include <linux/wait.h> |
---|
.. | .. |
---|
115 | 102 | entry->content = SNDRV_INFO_CONTENT_TEXT; |
---|
116 | 103 | entry->private_data = emu; |
---|
117 | 104 | 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; |
---|
122 | 105 | } |
---|
123 | 106 | |
---|
124 | 107 | void snd_emux_proc_free(struct snd_emux *emu) |
---|