diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-05-16 22:43:47 +0300 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-24 22:22:33 +0000 |
commit | f978a66ca6bab275dc5bebde47e663132367d795 (patch) | |
tree | 1fb5317bd73628d8e8d6b6731df1e88d6637f899 /src/host/osmocon | |
parent | 73178cbb87de5c7b9278c5e8a76e831835e1405f (diff) |
osmocon.c: strip unused variable
Change-Id: I295785295c108798e0c235e78bd8fd8f3c585d16
Diffstat (limited to 'src/host/osmocon')
-rw-r--r-- | src/host/osmocon/osmocon.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) |