Get rid of the last remnants of HAVE_FUNCTIONAL_MODE

Change-Id: I4f9339019884aceedc8c9d0ab779a2e32ace0288
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
This commit is contained in:
Solomon Peachy 2018-07-28 11:37:20 -04:00
parent 3671f923eb
commit 08ab3aea4f
2 changed files with 0 additions and 13 deletions

View file

@ -113,9 +113,6 @@ AUDIOHW_SETTINGS(
#if defined(AUDIOHW_HAVE_FILTER_ROLL_OFF) #if defined(AUDIOHW_HAVE_FILTER_ROLL_OFF)
AUDIOHW_SETTING_ENT(FILTER_ROLL_OFF, sound_set_filter_roll_off) AUDIOHW_SETTING_ENT(FILTER_ROLL_OFF, sound_set_filter_roll_off)
#endif #endif
#if defined(AUDIOHW_HAVE_FUNCTIONAL_MODE)
AUDIOHW_SETTING_ENT(FUNCTIONAL_MODE, sound_set_functional_mode)
#endif
/* Hardware EQ tone controls */ /* Hardware EQ tone controls */
#if defined(AUDIOHW_HAVE_EQ) #if defined(AUDIOHW_HAVE_EQ)
AUDIOHW_SETTING_ENT(EQ_BAND1_GAIN, sound_set_hw_eq_band1_gain) AUDIOHW_SETTING_ENT(EQ_BAND1_GAIN, sound_set_hw_eq_band1_gain)

View file

@ -324,16 +324,6 @@ void sound_set_filter_roll_off(int value)
} }
#endif #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) #if defined(AUDIOHW_HAVE_EQ)
int sound_enum_hw_eq_band_setting(unsigned int band, int sound_enum_hw_eq_band_setting(unsigned int band,
unsigned int band_setting) unsigned int band_setting)