From f978a66ca6bab275dc5bebde47e663132367d795 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Tue, 16 May 2017 22:43:47 +0300 Subject: osmocon.c: strip unused variable Change-Id: I295785295c108798e0c235e78bd8fd8f3c585d16 --- src/host/osmocon/osmocon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/host') diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c index 648d4164..76f60374 100644 --- a/src/host/osmocon/osmocon.c +++ b/src/host/osmocon/osmocon.c @@ -497,8 +497,7 @@ static int romload_prepare_block(void) static int mtk_prepare_block(void) { - int rc, i; - + int i; int remaining_bytes; int fill_bytes; uint8_t *block_data; @@ -565,7 +564,7 @@ static int mtk_prepare_block(void) dnload.block_ptr = dnload.block; dnload.block_number++; - return rc; + return 0; } static int handle_write_block(void) -- cgit v1.2.3