diff options
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 04fd64b1ca..1a19bb18c8 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -1104,14 +1104,6 @@ static bool spindown(void) | |||
1104 | ata_spindown, 1, 3, 254, NULL ); | 1104 | ata_spindown, 1, 3, 254, NULL ); |
1105 | } | 1105 | } |
1106 | 1106 | ||
1107 | #ifdef HAVE_ATA_POWER_OFF | ||
1108 | static bool poweroff(void) | ||
1109 | { | ||
1110 | bool rc = set_bool(str(LANG_POWEROFF), &global_settings.disk_poweroff); | ||
1111 | ata_poweroff(global_settings.disk_poweroff); | ||
1112 | return rc; | ||
1113 | } | ||
1114 | #endif /* HAVE_ATA_POWEROFF */ | ||
1115 | #endif /* !HAVE_MMC */ | 1107 | #endif /* !HAVE_MMC */ |
1116 | 1108 | ||
1117 | #if CONFIG_CODEC == MAS3507D | 1109 | #if CONFIG_CODEC == MAS3507D |
@@ -2116,9 +2108,6 @@ static bool disk_settings_menu(void) | |||
2116 | 2108 | ||
2117 | static const struct menu_item items[] = { | 2109 | static const struct menu_item items[] = { |
2118 | { ID2P(LANG_SPINDOWN), spindown }, | 2110 | { ID2P(LANG_SPINDOWN), spindown }, |
2119 | #ifdef HAVE_ATA_POWER_OFF | ||
2120 | { ID2P(LANG_POWEROFF), poweroff }, | ||
2121 | #endif | ||
2122 | #ifdef HAVE_DIRCACHE | 2111 | #ifdef HAVE_DIRCACHE |
2123 | { ID2P(LANG_DIRCACHE_ENABLE), dircache }, | 2112 | { ID2P(LANG_DIRCACHE_ENABLE), dircache }, |
2124 | #endif | 2113 | #endif |