Re: [PATCH] sound/core/seq: remove useless function

2020-11-04 Thread Yu Hao
Thanks! On Wed, Nov 4, 2020 at 12:16 AM Takashi Iwai wrote: > > On Tue, 03 Nov 2020 23:33:35 +0100, > Yu Hao wrote: > > > > The function snd_seq_queue_client_termination() is only called from > > the function seq_free_client1(). The function seq_free_clien

[PATCH] sound/core/seq: remove useless function

2020-11-03 Thread Yu Hao
all things, so the function snd_seq_queue_client_termination() is a useless function. Signed-off-by: Yu Hao --- sound/core/seq/seq_clientmgr.c | 1 - sound/core/seq/seq_queue.c | 27 --- sound/core/seq/seq_queue.h | 3 --- 3 files changed, 31 deletions(-) diff

[PATCH] sound/core/seq: remove dead code

2020-11-01 Thread Yu Hao
ion snd_seq_queue_client_termination(), which checks whether there are any objects in global array queue_list whose owner equals to client->number, with the same argument client->number. So the checking code in function snd_seq_queue_client_termination() is dead code. Remove those dead code. Signed-off-b