diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-07 05:43:49 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-07 05:43:49 +0000 |
commit | 8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4 (patch) | |
tree | 28e7c461ca3d50bff1628699247d35c3d0a9d5c9 /apps | |
parent | d7f94393533a47597e3786b2687877f2b601b3d4 (diff) | |
download | rockbox-8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4.tar.gz rockbox-8d3855eb536d4b8f1459c9b2da3beb5a0ac328b4.zip |
Removed dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7048 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings_menu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 0889de7450..249da8a17d 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -836,16 +836,8 @@ static bool battery_type(void) | |||
836 | static bool timedate_set(void) | 836 | static bool timedate_set(void) |
837 | { | 837 | { |
838 | struct tm tm; | 838 | struct tm tm; |
839 | int timedate[8]; | ||
840 | bool result; | 839 | bool result; |
841 | 840 | ||
842 | timedate[0] = rtc_read(0x03); /* hour */ | ||
843 | timedate[1] = rtc_read(0x02); /* minute */ | ||
844 | timedate[2] = rtc_read(0x01); /* second */ | ||
845 | timedate[3] = rtc_read(0x07); /* year */ | ||
846 | timedate[4] = rtc_read(0x06); /* month */ | ||
847 | timedate[5] = rtc_read(0x05); /* day */ | ||
848 | |||
849 | /* Make a local copy of the time struct */ | 841 | /* Make a local copy of the time struct */ |
850 | memcpy(&tm, get_time(), sizeof(struct tm)); | 842 | memcpy(&tm, get_time(), sizeof(struct tm)); |
851 | 843 | ||