]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] seq: remove superfluous fields
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Dec 2005 08:28:51 +0000 (09:28 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:30:45 +0000 (12:30 +0100)
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>
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_clientmgr.h

index 9c32fd262f8de6c2bf466c44b1ecdd49cff936bc..79199f53d63a420d71de779e46f522d38bf89b8c 100644 (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;
index 9df562425e3c7270348fb904e6ec1cd2d5a956cb..7131d218dc75f9071e83802a21032494ca268792 100644 (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 */
        /* ... */
 };