binman: Remove redundant code
authorWill Sowerbutts <will@sowerbutts.com>
Mon, 5 Jan 2015 00:49:12 +0000 (00:49 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Mon, 5 Jan 2015 00:58:17 +0000 (00:58 +0000)
Kernel/tools/binman.c

index a29ea2d..8aeff89 100644 (file)
@@ -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");