summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-07-28 11:37:20 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-09-20 22:03:03 +0200
commit08ab3aea4f43c733af0e78ee306780e2dbb12970 (patch)
treecdb40e31209e21d7c1424a87b19cbf16fa5e65fb /firmware
parent3671f923eb969bfc0fbe3201806db2107bb0f17d (diff)
downloadrockbox-08ab3aea4f43c733af0e78ee306780e2dbb12970.tar.gz
rockbox-08ab3aea4f43c733af0e78ee306780e2dbb12970.tar.bz2
rockbox-08ab3aea4f43c733af0e78ee306780e2dbb12970.zip
Get rid of the last remnants of HAVE_FUNCTIONAL_MODE
Change-Id: I4f9339019884aceedc8c9d0ab779a2e32ace0288 Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/audiohw_settings.h3
-rw-r--r--firmware/sound.c10
2 files changed, 0 insertions, 13 deletions
diff --git a/firmware/export/audiohw_settings.h b/firmware/export/audiohw_settings.h
index f9610421e8..675ec59a7b 100644
--- a/firmware/export/audiohw_settings.h
+++ b/firmware/export/audiohw_settings.h
@@ -113,9 +113,6 @@ AUDIOHW_SETTINGS(
#if defined(AUDIOHW_HAVE_FILTER_ROLL_OFF)
AUDIOHW_SETTING_ENT(FILTER_ROLL_OFF, sound_set_filter_roll_off)
#endif
-#if defined(AUDIOHW_HAVE_FUNCTIONAL_MODE)
- AUDIOHW_SETTING_ENT(FUNCTIONAL_MODE, sound_set_functional_mode)
-#endif
/* Hardware EQ tone controls */
#if defined(AUDIOHW_HAVE_EQ)
AUDIOHW_SETTING_ENT(EQ_BAND1_GAIN, sound_set_hw_eq_band1_gain)
diff --git a/firmware/sound.c b/firmware/sound.c
index eb66f34c5d..a19cc15c41 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -324,16 +324,6 @@ void sound_set_filter_roll_off(int value)
}
#endif
-#if defined(AUDIOHW_HAVE_FUNCTIONAL_MODE)
-void sound_set_functional_mode(int value)
-{
- if (!audio_is_initialized)
- return;
-
- audiohw_set_functional_mode(value);
-}
-#endif
-
#if defined(AUDIOHW_HAVE_EQ)
int sound_enum_hw_eq_band_setting(unsigned int band,
unsigned int band_setting)