Skip to content

Commit

Permalink
[ALSA] seq: remove superfluous fields
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed Jan 3, 2006
1 parent 22fb2a7 commit 255bd16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions sound/core/seq/seq_clientmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions sound/core/seq/seq_clientmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/* ... */
};

Expand Down

0 comments on commit 255bd16

Please sign in to comment.