diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2008-02-13 11:19:23 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2008-02-13 11:19:23 +0000 |
commit | 06971be8cd75234e76adab165e8c28275b2ab080 (patch) | |
tree | 34498a163bde93236c61e5980ed6adf4003f16c3 /firmware/drivers/audio/wm8985.c | |
parent | c3213e40ad9c9b58d28e82255f839abb4505acff (diff) | |
download | rockbox-06971be8cd75234e76adab165e8c28275b2ab080.tar.gz rockbox-06971be8cd75234e76adab165e8c28275b2ab080.zip |
Return value of audiohw_set_xxx_vol is never used and most of the time we have a return 0; --> kick it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16300 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/audio/wm8985.c')
-rw-r--r-- | firmware/drivers/audio/wm8985.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/drivers/audio/wm8985.c b/firmware/drivers/audio/wm8985.c index 3117b06f98..ad19a589fe 100644 --- a/firmware/drivers/audio/wm8985.c +++ b/firmware/drivers/audio/wm8985.c | |||
@@ -55,22 +55,20 @@ void audiohw_enable_output(bool enable) | |||
55 | (void)enable; | 55 | (void)enable; |
56 | } | 56 | } |
57 | 57 | ||
58 | int audiohw_set_master_vol(int vol_l, int vol_r) | 58 | void audiohw_set_master_vol(int vol_l, int vol_r) |
59 | { | 59 | { |
60 | #warning function not implemented | 60 | #warning function not implemented |
61 | 61 | ||
62 | (void)vol_l; | 62 | (void)vol_l; |
63 | (void)vol_r; | 63 | (void)vol_r; |
64 | return 0; | ||
65 | } | 64 | } |
66 | 65 | ||
67 | int audiohw_set_lineout_vol(int vol_l, int vol_r) | 66 | void audiohw_set_lineout_vol(int vol_l, int vol_r) |
68 | { | 67 | { |
69 | #warning function not implemented | 68 | #warning function not implemented |
70 | 69 | ||
71 | (void)vol_l; | 70 | (void)vol_l; |
72 | (void)vol_r; | 71 | (void)vol_r; |
73 | return 0; | ||
74 | } | 72 | } |
75 | 73 | ||
76 | void audiohw_set_bass(int value) | 74 | void audiohw_set_bass(int value) |