aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-12-12 03:28:51 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:30:45 -0500
commit255bd169ab645970f77d3fd7ac800781f96ddccb (patch)
tree0195152039609cefd76451b906181e7271b61810
parent22fb2a708d2f390808f20609213fd6a588bf7612 (diff)
[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>
-rw-r--r--sound/core/seq/seq_clientmgr.c3
-rw-r--r--sound/core/seq/seq_clientmgr.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c
index 9c32fd262f8d..79199f53d63a 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,
2247 client->accept_input = callback->allow_output; 2247 client->accept_input = callback->allow_output;
2248 client->accept_output = callback->allow_input; 2248 client->accept_output = callback->allow_input;
2249 2249
2250 /* fill client data */
2251 client->data.kernel.card = card;
2252 client->data.kernel.private_data = callback->private_data;
2253 sprintf(client->name, "Client-%d", client->number); 2250 sprintf(client->name, "Client-%d", client->number);
2254 2251
2255 client->type = KERNEL_CLIENT; 2252 client->type = KERNEL_CLIENT;
diff --git a/sound/core/seq/seq_clientmgr.h b/sound/core/seq/seq_clientmgr.h
index 9df562425e3c..7131d218dc75 100644
--- a/sound/core/seq/seq_clientmgr.h
+++ b/sound/core/seq/seq_clientmgr.h
@@ -40,9 +40,6 @@ struct snd_seq_user_client {
40}; 40};
41 41
42struct snd_seq_kernel_client { 42struct snd_seq_kernel_client {
43 struct snd_card *card;
44 /* pointer to client functions */
45 void *private_data; /* private data for client */
46 /* ... */ 43 /* ... */
47}; 44};
48 45