summaryrefslogtreecommitdiffstats
path: root/src/host
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-05-16 22:43:47 +0300
committerHarald Welte <laforge@gnumonks.org>2017-05-24 22:22:33 +0000
commitf978a66ca6bab275dc5bebde47e663132367d795 (patch)
tree1fb5317bd73628d8e8d6b6731df1e88d6637f899 /src/host
parent73178cbb87de5c7b9278c5e8a76e831835e1405f (diff)
osmocon.c: strip unused variable
Diffstat (limited to 'src/host')
-rw-r--r--src/host/osmocon/osmocon.c5
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)