diff options
Diffstat (limited to 'sound/pci/trident/trident_synth.c')
-rw-r--r-- | sound/pci/trident/trident_synth.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/pci/trident/trident_synth.c b/sound/pci/trident/trident_synth.c index a49682ef3e3e..e31055a4bd25 100644 --- a/sound/pci/trident/trident_synth.c +++ b/sound/pci/trident/trident_synth.c | |||
@@ -934,7 +934,6 @@ static int snd_trident_synth_new_device(struct snd_seq_device *dev) | |||
934 | { | 934 | { |
935 | struct snd_trident *trident; | 935 | struct snd_trident *trident; |
936 | int client, i; | 936 | int client, i; |
937 | struct snd_seq_client_callback callbacks; | ||
938 | struct snd_seq_client_info cinfo; | 937 | struct snd_seq_client_info cinfo; |
939 | struct snd_seq_port_subscribe sub; | 938 | struct snd_seq_port_subscribe sub; |
940 | struct snd_simple_ops *simpleops; | 939 | struct snd_simple_ops *simpleops; |
@@ -947,11 +946,8 @@ static int snd_trident_synth_new_device(struct snd_seq_device *dev) | |||
947 | trident->synth.seq_client = -1; | 946 | trident->synth.seq_client = -1; |
948 | 947 | ||
949 | /* allocate new client */ | 948 | /* allocate new client */ |
950 | memset(&callbacks, 0, sizeof(callbacks)); | ||
951 | callbacks.private_data = trident; | ||
952 | callbacks.allow_output = callbacks.allow_input = 1; | ||
953 | client = trident->synth.seq_client = | 949 | client = trident->synth.seq_client = |
954 | snd_seq_create_kernel_client(trident->card, 1, &callbacks); | 950 | snd_seq_create_kernel_client(trident->card, 1); |
955 | if (client < 0) | 951 | if (client < 0) |
956 | return client; | 952 | return client; |
957 | 953 | ||