[PATCH] ratp: remove unused context fields

Aleksander Morgado aleksander at aleksander.es
Mon Jan 29 08:28:15 PST 2018


Signed-off-by: Aleksander Morgado <aleksander at aleksander.es>
---
 common/ratp.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/common/ratp.c b/common/ratp.c
index 6db4df870..80863f81f 100644
--- a/common/ratp.c
+++ b/common/ratp.c
@@ -54,14 +54,8 @@ struct ratp_bb_command_return {
 struct ratp_ctx {
 	struct console_device *cdev;
 	struct ratp ratp;
-	int ratp_status;
 	struct console_device ratp_console;
 	int have_synch;
-	int in_ratp_console;
-
-	u8 sendbuf[256];
-	u8 sendbuf_len;
-
 	int old_active;
 
 	struct kfifo *console_recv_fifo;
-- 
2.15.1




More information about the barebox mailing list