From: Clemens Ladisch Date: Mon, 12 Dec 2005 08:28:51 +0000 (+0100) Subject: [ALSA] seq: remove superfluous fields X-Git-Tag: v2.6.16-rc1~474^2~22^2~3^2~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=255bd169ab645970f77d3fd7ac800781f96ddccb;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c index 9c32fd262f8..79199f53d63 100644 --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c @@ -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; diff --git a/sound/core/seq/seq_clientmgr.h b/sound/core/seq/seq_clientmgr.h index 9df562425e3..7131d218dc7 100644 --- a/sound/core/seq/seq_clientmgr.h +++ b/sound/core/seq/seq_clientmgr.h @@ -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 */ /* ... */ };