提交 0b76b51e 编写于 作者: H Harvey Harrison 提交者: Takashi Iwai

[ALSA] sound: hdspm.c fix returning void expression warnings

Just drop the returns.
sound/pci/rme9652/hdspm.c:1031:3: warning: returning void-valued expression
sound/pci/rme9652/hdspm.c:1033:3: warning: returning void-valued expression
Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 0cd87b10
...@@ -1028,9 +1028,9 @@ static inline void snd_hdspm_midi_write_byte (struct hdspm *hdspm, int id, ...@@ -1028,9 +1028,9 @@ static inline void snd_hdspm_midi_write_byte (struct hdspm *hdspm, int id,
{ {
/* the hardware already does the relevant bit-mask with 0xff */ /* the hardware already does the relevant bit-mask with 0xff */
if (id) if (id)
return hdspm_write(hdspm, HDSPM_midiDataOut1, val); hdspm_write(hdspm, HDSPM_midiDataOut1, val);
else else
return hdspm_write(hdspm, HDSPM_midiDataOut0, val); hdspm_write(hdspm, HDSPM_midiDataOut0, val);
} }
static inline int snd_hdspm_midi_input_available (struct hdspm *hdspm, int id) static inline int snd_hdspm_midi_input_available (struct hdspm *hdspm, int id)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册