ALSA: cs4281: Remove always NULL parameters
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 2 Jan 2015 11:24:46 +0000 (12:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jan 2015 15:31:46 +0000 (16:31 +0100)
commit3e4f4776f427ddeeba6972f34cca04df478a67b4
tree5862349cab4b148fbd3abc5ef64f52bb29beb815
parentd18132aa15d2bf7a5f227b590175b73aa3591a91
ALSA: cs4281: Remove always NULL parameters

snd_cs4281_pcm() and snd_cs4281_midi() take a pointer to a pointer of a
PCM/MIDI object where if this parameter is provided the newly allocated
object is stored. All callers pass NULL though, so remove the parameter.
This makes the code a bit shorter and cleaner.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs4281.c