mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 4/5] ratp: remove unused ratp_close command
Date: Tue,  9 Feb 2016 17:01:23 +0100	[thread overview]
Message-ID: <1455033684-21067-4-git-send-email-r.schwebel@pengutronix.de> (raw)
In-Reply-To: <1455033684-21067-1-git-send-email-r.schwebel@pengutronix.de>

This is a leftover from development, remove.

Signed-off-by: Robert Schwebel <r.schwebel@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

  parent reply	other threads:[~2016-02-09 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09 16:01 [PATCH 1/5] Documentation: booting linux: improve wording Robert Schwebel
2016-02-09 16:01 ` [PATCH 2/5] Documentation: m25p80: include in documentation Robert Schwebel
2016-02-09 16:01 ` [PATCH 3/5] Documentation: user manual: include documentation for remote-control Robert Schwebel
2016-02-09 16:01 ` Robert Schwebel [this message]
2016-02-09 16:01 ` [PATCH 5/5] Documentation: commands: remove autogenerated directory on mrproper Robert Schwebel
2016-02-10  7:20 ` [PATCH 1/5] Documentation: booting linux: improve wording Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455033684-21067-4-git-send-email-r.schwebel@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox