diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-02 12:24:54 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-02 16:34:06 +0100 |
commit | 1b16416fda21a8c5704bce809e0d7387bbfb097d (patch) | |
tree | e63e0ef7a43624b8bd056ac066c710b289199891 /sound/pci/trident/trident.h | |
parent | 0f33991dd2811cb5458b1a2bc19c6aa6ff64c00b (diff) | |
download | talos-obmc-linux-1b16416fda21a8c5704bce809e0d7387bbfb097d.tar.gz talos-obmc-linux-1b16416fda21a8c5704bce809e0d7387bbfb097d.zip |
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>
Diffstat (limited to 'sound/pci/trident/trident.h')
-rw-r--r-- | sound/pci/trident/trident.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/trident/trident.h b/sound/pci/trident/trident.h index 5f110eb56e47..9624e5937719 100644 --- a/sound/pci/trident/trident.h +++ b/sound/pci/trident/trident.h @@ -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); |