OSDN Git Service

ASLA: ad1889: Remove always NULL parameter
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 2 Jan 2015 11:24:44 +0000 (12:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jan 2015 15:31:04 +0000 (16:31 +0100)
commita08800940f72bb5502a8b6afb675231cef0b3a62
tree33776a4ca6dfd5274a3c7116b876192b3c4f74fe
parentfa60c065694a81e534c61809ab7dd419366e9335
ASLA: ad1889: Remove always NULL parameter

snd_ad1889_pcm_init() takes 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. This makes the code a bit cleaner and
shorter.

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