1
0
Fork 0

[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: Clemens Ladisch <clemens@ladisch.de>
hifive-unleashed-5.1
Clemens Ladisch 2005-12-12 09:28:51 +01:00 committed by Jaroslav Kysela
parent 22fb2a708d
commit 255bd169ab
2 changed files with 0 additions and 6 deletions

View File

@ -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_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);
client->type = KERNEL_CLIENT;

View File

@ -40,9 +40,6 @@ struct snd_seq_user_client {
};
struct snd_seq_kernel_client {
struct snd_card *card;
/* pointer to client functions */
void *private_data; /* private data for client */
/* ... */
};