ratp: remove unused ratp_close command
This is a leftover from development, remove. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5e690f4510
commit
3869d56a77
|
@ -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);
|
||||
predevshutdown_exitcall(barebox_ratp_close);
|
||||
|
|
Loading…
Reference in New Issue