From ed2e772dc975ae3180b207f3850027829b998a28 Mon Sep 17 00:00:00 2001 From: Will Sowerbutts Date: Mon, 5 Jan 2015 00:49:12 +0000 Subject: [PATCH] binman: Remove redundant code --- Kernel/tools/binman.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Kernel/tools/binman.c b/Kernel/tools/binman.c index a29ea2d1..8aeff896 100644 --- a/Kernel/tools/binman.c +++ b/Kernel/tools/binman.c @@ -15,18 +15,10 @@ static unsigned int s__CODE, s__CODE2, s__INITIALIZER, s__DATA, static void ProcessMap(FILE * fp) { char buf[512]; - int addr = 0; - int naddr; - char name[100]; - char nname[100]; - int hogs = 0; while (fgets(buf, 511, fp)) { char *p1 = strtok(buf, " \t\n"); char *p2 = NULL; - int match = 0; - - match = memcmp(buf, " 000", 8); if (p1) p2 = strtok(NULL, " \t\n"); -- 2.34.1