From 012264cb0e6ffdd66f55716d53d31e36dfbc0230 Mon Sep 17 00:00:00 2001
From: Vincent Dupont <vincent@otakeys.com>
Date: Mon, 13 Nov 2017 18:44:15 +0100
Subject: [PATCH] shell/sc_rtc: remove rtc init command

---
 sys/shell/commands/sc_rtc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/shell/commands/sc_rtc.c b/sys/shell/commands/sc_rtc.c
index 2dd7103af8..268f57361e 100644
--- a/sys/shell/commands/sc_rtc.c
+++ b/sys/shell/commands/sc_rtc.c
@@ -139,7 +139,6 @@ static int _rtc_usage(void)
 {
     puts("usage: rtc <command> [arguments]");
     puts("commands:");
-    puts("\tinit\t\tinitialize the interface");
     puts("\tpoweron\t\tpower the interface on");
     puts("\tpoweroff\tpower the interface off");
     puts("\tclearalarm\tdeactivate the current alarm");
@@ -156,9 +155,6 @@ int _rtc_handler(int argc, char **argv)
         _rtc_usage();
         return 1;
     }
-    else if (strncmp(argv[1], "init", 4) == 0) {
-        rtc_init();
-    }
     else if (strncmp(argv[1], "poweron", 7) == 0) {
         rtc_poweron();
     }
-- 
GitLab