summaryrefslogtreecommitdiff
path: root/sound/isa/msnd/msnd.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-01-02 12:24:40 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-02 16:28:04 +0100
commitf6be4e624aa26699a9a89bc24089e88a227141c1 (patch)
tree68b70e9e4e350453ddfa038e12bee19154cac110 /sound/isa/msnd/msnd.h
parentdb5abb3c499e553a8afedee1417d6a6308dda7bd (diff)
downloadlinux-rt-f6be4e624aa26699a9a89bc24089e88a227141c1.tar.gz
ALSA: msnd: Remove always NULL parameter
snd_msnd_pcm() 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>
Diffstat (limited to 'sound/isa/msnd/msnd.h')
-rw-r--r--sound/isa/msnd/msnd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/msnd/msnd.h b/sound/isa/msnd/msnd.h
index dbac3a42347b..5f3c7dcd9f9d 100644
--- a/sound/isa/msnd/msnd.h
+++ b/sound/isa/msnd/msnd.h
@@ -297,7 +297,7 @@ int snd_msnd_disable_irq(struct snd_msnd *chip);
void snd_msnd_dsp_halt(struct snd_msnd *chip, struct file *file);
int snd_msnd_DAPQ(struct snd_msnd *chip, int start);
int snd_msnd_DARQ(struct snd_msnd *chip, int start);
-int snd_msnd_pcm(struct snd_card *card, int device, struct snd_pcm **rpcm);
+int snd_msnd_pcm(struct snd_card *card, int device);
int snd_msndmidi_new(struct snd_card *card, int device);
void snd_msndmidi_input_read(void *mpu);