]> 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)
commit595d9c11775d05ed78f9020a1c6d93c924a625a3
treeaa6b6c96cbb9a040e016055c40c51a92410fe39b
parentb75d177bbc55f69baaa347423962fa87ec664ac4
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