summaryrefslogtreecommitdiff
path: root/sound/core/seq/seq.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-08-01 14:59:07 +0200
committerTakashi Iwai <tiwai@suse.de>2018-08-01 22:54:35 +0200
commitfc4bfd9a35f3d9cbf5ad6a20faedca71d1d9ed52 (patch)
tree409083265a760ec2e5c2a1530b2340214b60f31a /sound/core/seq/seq.c
parentef965ad5a7697ff16e3be01954f5c57208e36c22 (diff)
ALSA: seq: Remove dead codes
There are a few functions that have been commented out for ages. And also there are functions that do nothing but placeholders. Let's kill them. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq.c')
-rw-r--r--sound/core/seq/seq.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/core/seq/seq.c b/sound/core/seq/seq.c
index 639544b4fb04..e685eccdc741 100644
--- a/sound/core/seq/seq.c
+++ b/sound/core/seq/seq.c
@@ -87,10 +87,6 @@ static int __init alsa_seq_init(void)
if ((err = client_init_data()) < 0)
goto error;
- /* init memory, room for selected events */
- if ((err = snd_sequencer_memory_init()) < 0)
- goto error;
-
/* init event queues */
if ((err = snd_seq_queues_init()) < 0)
goto error;
@@ -126,9 +122,6 @@ static void __exit alsa_seq_exit(void)
/* unregister sequencer device */
snd_sequencer_device_done();
- /* release event memory */
- snd_sequencer_memory_done();
-
snd_seq_autoload_exit();
}