aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_clientmgr.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-04-12 12:10:14 +0200
committerTakashi Iwai <tiwai@suse.de>2019-04-12 12:51:22 +0200
commit6740ea6776e97274627e3c261469d1c4ba0a0cb5 (patch)
treedc886ed8527bd101e736d296e4d0df4ea02af146 /sound/core/seq/seq_clientmgr.h
parentALSA: seq: Cover unsubscribe_port() in list_mutex (diff)
downloadlinux-dev-6740ea6776e97274627e3c261469d1c4ba0a0cb5.tar.xz
linux-dev-6740ea6776e97274627e3c261469d1c4ba0a0cb5.zip
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>
Diffstat (limited to '')
-rw-r--r--sound/core/seq/seq_clientmgr.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/core/seq/seq_clientmgr.h b/sound/core/seq/seq_clientmgr.h
index 0611e1e0ed5b..66ad3d547916 100644
--- a/sound/core/seq/seq_clientmgr.h
+++ b/sound/core/seq/seq_clientmgr.h
@@ -93,10 +93,6 @@ struct snd_seq_client *snd_seq_client_use_ptr(int clientid);
/* dispatch event to client(s) */
int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop);
-/* exported to other modules */
-int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, int atomic, int hop);
-int snd_seq_kernel_client_enqueue_blocking(int client, struct snd_seq_event * ev,
- struct file *file, int atomic, int hop);
int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait);
int snd_seq_client_notify_subscription(int client, int port,
struct snd_seq_port_subscribe *info, int evtype);