ALSA: seq: Simplify snd_seq_kernel_client_enqueue() helper
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 Apr 2019 10:10:14 +0000 (12:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 Apr 2019 10:51:22 +0000 (12:51 +0200)
commit6740ea6776e97274627e3c261469d1c4ba0a0cb5
treedc886ed8527bd101e736d296e4d0df4ea02af146
parent7c32ae35fbf9cffb7aa3736f44dec10c944ca18e
ALSA: seq: Simplify snd_seq_kernel_client_enqueue() helper

We have two helpers for queuing a sequencer event from the kernel
client, and both are used only from OSS sequencer layer without any
hop and atomic set.  Let's simplify and unify two helpers into one.

No functional change, just a call pattern change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/seq_kernel.h
sound/core/seq/oss/seq_oss_rw.c
sound/core/seq/oss/seq_oss_writeq.c
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_clientmgr.h