Commit 255bd169 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela

[ALSA] seq: remove superfluous fields

Modules: ALSA sequencer

None of the fields of struct snd_seq_kernel_client was actually used, so
remove them.
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 22fb2a70
...@@ -2247,9 +2247,6 @@ int snd_seq_create_kernel_client(struct snd_card *card, int client_index, ...@@ -2247,9 +2247,6 @@ int snd_seq_create_kernel_client(struct snd_card *card, int client_index,
client->accept_input = callback->allow_output; client->accept_input = callback->allow_output;
client->accept_output = callback->allow_input; client->accept_output = callback->allow_input;
/* fill client data */
client->data.kernel.card = card;
client->data.kernel.private_data = callback->private_data;
sprintf(client->name, "Client-%d", client->number); sprintf(client->name, "Client-%d", client->number);
client->type = KERNEL_CLIENT; client->type = KERNEL_CLIENT;
......
...@@ -40,9 +40,6 @@ struct snd_seq_user_client { ...@@ -40,9 +40,6 @@ struct snd_seq_user_client {
}; };
struct snd_seq_kernel_client { struct snd_seq_kernel_client {
struct snd_card *card;
/* pointer to client functions */
void *private_data; /* private data for client */
/* ... */ /* ... */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment