summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-11-30 00:22:17 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-12-01 13:07:24 -0500
commitafa58ef2775dea3f3f16e3d74e01ed7cf869d3c4 (patch)
treec02ae0ef379333aa0bd848a95ffd8e6a733540bf
parent7819a06d7464cdaed193314068f3a79639f31b17 (diff)
downloadrockbox-afa58ef277.tar.gz
rockbox-afa58ef277.zip
settings: Remove unused INT_SETTING_W_CFGVALS
This hasn't been used for quite some time; it appears to have been obsoleted by table settings. Change-Id: I8818e3f639d9783aaa2554dd098128ceda686527
-rw-r--r--apps/settings_list.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 8e6271dd41..6815c64b57 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -162,12 +162,6 @@
unit is the UNIT_ define to display/talk.
the first one saves a string to the config file,
the second one saves the variable value to the config file */
-#define INT_SETTING_W_CFGVALS(flags, var, lang_id, default, name, cfg_vals, \
- unit, min, max, step, formatter, get_talk_id, cb) \
- {flags|F_INT_SETTING|F_T_INT, &global_settings.var, \
- lang_id, INT(default), name, cfg_vals, \
- {.int_setting = (struct int_setting[]){ \
- {cb, unit, step, min, max, formatter, get_talk_id}}}}
#define INT_SETTING(flags, var, lang_id, default, name, \
unit, min, max, step, formatter, get_talk_id, cb) \
{flags|F_INT_SETTING|F_T_INT, &global_settings.var, \