ALSA: seq: Remove superfluous snd_seq_queue_client_leave_cells() call
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Mar 2018 11:01:25 +0000 (12:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Mar 2018 11:06:07 +0000 (12:06 +0100)
commit85d59b57be59970e892e9ab13f3cc3d21f14ac23
treeb03e3bac71822daff9bbeef34639155388315d56
parent7bd80091567789f1c0cb70eb4737aac8bcd2b6b9
ALSA: seq: Remove superfluous snd_seq_queue_client_leave_cells() call

With the previous two fixes for the write / ioctl races:
  ALSA: seq: Don't allow resizing pool in use
  ALSA: seq: More protection for concurrent write and ioctl races
the cells aren't any longer in queues at the point calling
snd_seq_pool_done() in snd_seq_ioctl_set_client_pool().  Hence the
function call snd_seq_queue_client_leave_cells() can be dropped safely
from there.

Suggested-by: Nicolai Stange <nstange@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_clientmgr.c