]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: seq: remove useless function
authorYu Hao <yuhaobehappy@gmail.com>
Tue, 3 Nov 2020 22:33:35 +0000 (14:33 -0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Nov 2020 08:12:00 +0000 (09:12 +0100)
commit05b9f61ded52f410b1eb8a8a4c67de3c0cdac62a
treeaa6b6c96cbb9a040e016055c40c51a92410fe39b
parent08d65d6820220ff3bad74e26b5b38d9d4c9d3a2d
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>
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_queue.c
sound/core/seq/seq_queue.h