aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/seq/seq_dummy.c')
-rw-r--r--sound/core/seq/seq_dummy.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/core/seq/seq_dummy.c b/sound/core/seq/seq_dummy.c
index 8101a475e3e5..e7344b6332da 100644
--- a/sound/core/seq/seq_dummy.c
+++ b/sound/core/seq/seq_dummy.c
@@ -193,7 +193,6 @@ create_port(int idx, int type)
193static int __init 193static int __init
194register_client(void) 194register_client(void)
195{ 195{
196 struct snd_seq_client_callback cb;
197 struct snd_seq_client_info cinfo; 196 struct snd_seq_client_info cinfo;
198 struct snd_seq_dummy_port *rec1, *rec2; 197 struct snd_seq_dummy_port *rec1, *rec2;
199 int i; 198 int i;
@@ -204,10 +203,7 @@ register_client(void)
204 } 203 }
205 204
206 /* create client */ 205 /* create client */
207 memset(&cb, 0, sizeof(cb)); 206 my_client = snd_seq_create_kernel_client(NULL, SNDRV_SEQ_CLIENT_DUMMY);
208 cb.allow_input = 1;
209 cb.allow_output = 1;
210 my_client = snd_seq_create_kernel_client(NULL, SNDRV_SEQ_CLIENT_DUMMY, &cb);
211 if (my_client < 0) 207 if (my_client < 0)
212 return my_client; 208 return my_client;
213 209