aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_queue.h
diff options
context:
space:
mode:
authorYu Hao <yuhaobehappy@gmail.com>2020-11-03 14:33:35 -0800
committerTakashi Iwai <tiwai@suse.de>2020-11-04 09:12:00 +0100
commit1a6a071f51a5373de21edd34f9b79610be2d02e3 (patch)
treeaa6b6c96cbb9a040e016055c40c51a92410fe39b /sound/core/seq/seq_queue.h
parentALSA: remove unneeded break (diff)
downloadlinux-dev-1a6a071f51a5373de21edd34f9b79610be2d02e3.tar.xz
linux-dev-1a6a071f51a5373de21edd34f9b79610be2d02e3.zip
ALSA: seq: remove useless function
The function snd_seq_queue_client_termination() is only called from the function seq_free_client1(). The function seq_free_client1() calls the function snd_seq_queue_client_leave() and the function snd_seq_queue_client_termination() together. Because the function snd_seq_queue_client_leave() does all things, so the function snd_seq_queue_client_termination() is a useless function. Signed-off-by: Yu Hao <yuhaobehappy@gmail.com> Link: https://lore.kernel.org/r/20201103223335.21831-1-yuhaobehappy@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq_queue.h')
-rw-r--r--sound/core/seq/seq_queue.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/core/seq/seq_queue.h b/sound/core/seq/seq_queue.h
index 9254c8dbe5e3..1c3a8d3254d9 100644
--- a/sound/core/seq/seq_queue.h
+++ b/sound/core/seq/seq_queue.h
@@ -59,9 +59,6 @@ struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int f
/* delete queue (destructor) */
int snd_seq_queue_delete(int client, int queueid);
-/* notification that client has left the system */
-void snd_seq_queue_client_termination(int client);
-
/* final stage */
void snd_seq_queue_client_leave(int client);