This is a leftover from development, remove.

Signed-off-by: Robert Schwebel <r.schwe...@pengutronix.de>
---
 common/ratp.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/common/ratp.c b/common/ratp.c
index 2fef3cc..e879e2b 100644
--- a/common/ratp.c
+++ b/common/ratp.c
@@ -398,20 +398,6 @@ out:
        ratp_console_unregister(ctx);
 }
 
-static int do_ratp_close(int argc, char *argv[])
-{
-       if (ratp_command_ctx && ratp_command_ctx->cdev)
-               ratp_console_unregister(ratp_command_ctx);
-       else
-               printf("ratp is not active\n");
-
-       return 0;
-}
-
-BAREBOX_CMD_START(ratp_close)
-       .cmd    = do_ratp_close,
-};
-
 int barebox_ratp_fs_call(struct ratp_bb_pkt *tx, struct ratp_bb_pkt **rx)
 {
        struct ratp_ctx *ctx = ratp_command_ctx;
@@ -508,4 +494,4 @@ static void barebox_ratp_close(void)
        if (ratp_command_ctx && ratp_command_ctx->cdev)
                ratp_console_unregister(ratp_command_ctx);
 }
-predevshutdown_exitcall(barebox_ratp_close);
\ No newline at end of file
+predevshutdown_exitcall(barebox_ratp_close);
-- 
2.7.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to