ALSA: trident: Remove always NULL parameters
The various PCM allocation functions in this driver take a pointer to a pointer of a PCM where if this parameter is provided the newly allocated PCM is stored. All callers pass NULL though, so remove the parameter. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Takashi Iwai

parent
0f33991dd2
commit
1b16416fda
@@ -420,9 +420,9 @@ int snd_trident_create(struct snd_card *card,
|
||||
struct snd_trident ** rtrident);
|
||||
int snd_trident_create_gameport(struct snd_trident *trident);
|
||||
|
||||
int snd_trident_pcm(struct snd_trident * trident, int device, struct snd_pcm **rpcm);
|
||||
int snd_trident_foldback_pcm(struct snd_trident * trident, int device, struct snd_pcm **rpcm);
|
||||
int snd_trident_spdif_pcm(struct snd_trident * trident, int device, struct snd_pcm **rpcm);
|
||||
int snd_trident_pcm(struct snd_trident *trident, int device);
|
||||
int snd_trident_foldback_pcm(struct snd_trident *trident, int device);
|
||||
int snd_trident_spdif_pcm(struct snd_trident *trident, int device);
|
||||
int snd_trident_attach_synthesizer(struct snd_trident * trident);
|
||||
struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type,
|
||||
int client, int port);
|
||||
|
Reference in New Issue
Block a user