diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-02 16:05:14 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2015-02-02 23:16:23 -0500 |
commit | 21b30ca5da14613dcf8fd8350ecdb0d5d245e814 (patch) | |
tree | 9433367ba974b5691329229a2676e1f2f614206e /arch/m68k | |
parent | 7372eefc15f0f6d6d97c4afbf8be3ba12105a633 (diff) |
arch: m68k: 68360: config: Remove unused function
Remove the function BSP_set_clock_mmss() that is not used anywhere.
This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/68360/config.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/m68k/68360/config.c b/arch/m68k/68360/config.c index 17ec416fed9d..fd1f948c7129 100644 --- a/arch/m68k/68360/config.c +++ b/arch/m68k/68360/config.c | |||
@@ -106,19 +106,6 @@ void hw_timer_init(irq_handler_t handler) | |||
106 | pquicc->timer_tgcr = tgcr_save; | 106 | pquicc->timer_tgcr = tgcr_save; |
107 | } | 107 | } |
108 | 108 | ||
109 | int BSP_set_clock_mmss(unsigned long nowtime) | ||
110 | { | ||
111 | #if 0 | ||
112 | short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; | ||
113 | |||
114 | tod->second1 = real_seconds / 10; | ||
115 | tod->second2 = real_seconds % 10; | ||
116 | tod->minute1 = real_minutes / 10; | ||
117 | tod->minute2 = real_minutes % 10; | ||
118 | #endif | ||
119 | return 0; | ||
120 | } | ||
121 | |||
122 | void BSP_reset (void) | 109 | void BSP_reset (void) |
123 | { | 110 | { |
124 | local_irq_disable(); | 111 | local_irq_disable(); |