diff options
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/gus/gus_synth.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/isa/gus/gus_synth.c b/sound/isa/gus/gus_synth.c index 9c7d6986f62f..6464488363e4 100644 --- a/sound/isa/gus/gus_synth.c +++ b/sound/isa/gus/gus_synth.c | |||
@@ -214,7 +214,6 @@ static int snd_gus_synth_new_device(struct snd_seq_device *dev) | |||
214 | { | 214 | { |
215 | struct snd_gus_card *gus; | 215 | struct snd_gus_card *gus; |
216 | int client, i; | 216 | int client, i; |
217 | struct snd_seq_client_callback callbacks; | ||
218 | struct snd_seq_client_info *cinfo; | 217 | struct snd_seq_client_info *cinfo; |
219 | struct snd_seq_port_subscribe sub; | 218 | struct snd_seq_port_subscribe sub; |
220 | struct snd_iwffff_ops *iwops; | 219 | struct snd_iwffff_ops *iwops; |
@@ -233,11 +232,8 @@ static int snd_gus_synth_new_device(struct snd_seq_device *dev) | |||
233 | return -ENOMEM; | 232 | return -ENOMEM; |
234 | 233 | ||
235 | /* allocate new client */ | 234 | /* allocate new client */ |
236 | memset(&callbacks, 0, sizeof(callbacks)); | ||
237 | callbacks.private_data = gus; | ||
238 | callbacks.allow_output = callbacks.allow_input = 1; | ||
239 | client = gus->gf1.seq_client = | 235 | client = gus->gf1.seq_client = |
240 | snd_seq_create_kernel_client(gus->card, 1, &callbacks); | 236 | snd_seq_create_kernel_client(gus->card, 1); |
241 | if (client < 0) { | 237 | if (client < 0) { |
242 | kfree(cinfo); | 238 | kfree(cinfo); |
243 | return client; | 239 | return client; |