sound: Fix warnings relating to ignored return value in snd_card_register
authorHannes Eder <hannes@hanneseder.net>
Tue, 18 Nov 2008 17:25:06 +0000 (12:25 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Nov 2008 17:27:58 +0000 (18:27 +0100)
commit2af752936b311a846622668f8b0f1893d8eccade
tree5ba3f1010d20490d31dcb557d4d3a6f37899ed2f
parentfd64138c0eff8351b93ef99f7da929bb8a49b9ed
sound: Fix warnings relating to ignored return value in snd_card_register

Do not ignore the return of 'device_create_file' in
'snd_card_register' and thereby fixing the following warnings:

sound/core/init.c: In function 'snd_card_register':
sound/core/init.c:640: warning: ignoring return value of
'device_create_file', declared with attribute warn_unused_result
sound/core/init.c:641: warning: ignoring return value of
'device_create_file', declared with attribute warn_unused_result

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c