diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-29 05:54:49 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:18 -0400 |
commit | 0b76b51e5807951995a39ea791b39971a7ae945f (patch) | |
tree | d62928dff5d2e917f2ad838ac0d6f0011ffd64b1 /sound/pci/rme9652 | |
parent | 0cd87b10ca29a351c61c8c63761ab8fb48e47b2f (diff) |
[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: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 9a19ae6a64d..38c931c480d 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -1028,9 +1028,9 @@ static inline void snd_hdspm_midi_write_byte (struct hdspm *hdspm, int id, | |||
1028 | { | 1028 | { |
1029 | /* the hardware already does the relevant bit-mask with 0xff */ | 1029 | /* the hardware already does the relevant bit-mask with 0xff */ |
1030 | if (id) | 1030 | if (id) |
1031 | return hdspm_write(hdspm, HDSPM_midiDataOut1, val); | 1031 | hdspm_write(hdspm, HDSPM_midiDataOut1, val); |
1032 | else | 1032 | else |
1033 | return hdspm_write(hdspm, HDSPM_midiDataOut0, val); | 1033 | hdspm_write(hdspm, HDSPM_midiDataOut0, val); |
1034 | } | 1034 | } |
1035 | 1035 | ||
1036 | static inline int snd_hdspm_midi_input_available (struct hdspm *hdspm, int id) | 1036 | static inline int snd_hdspm_midi_input_available (struct hdspm *hdspm, int id) |