aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mkdlinkfw.c
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2019-01-05 12:08:09 +0100
committerMathias Kresin <dev@kresin.me>2019-01-13 18:31:10 +0100
commitf4aa9d8839958c39d24d7cca3d3215efad98a1e2 (patch)
treee26603d7cd8bef807659228cde6acbe8ef1f3857 /tools/firmware-utils/src/mkdlinkfw.c
parent055cdab2bb229e39e8a4acaf096356d0c481a1f4 (diff)
downloadupstream-f4aa9d8839958c39d24d7cca3d3215efad98a1e2.tar.gz
upstream-f4aa9d8839958c39d24d7cca3d3215efad98a1e2.tar.bz2
upstream-f4aa9d8839958c39d24d7cca3d3215efad98a1e2.zip
firmware-utils: mkdlinkfw: cleanup code
Drop unused function and macros. With the cleanup the gnu extension typeof isn't used any longer and the gnu99 compile flag can be dropped. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'tools/firmware-utils/src/mkdlinkfw.c')
-rw-r--r--tools/firmware-utils/src/mkdlinkfw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/mkdlinkfw.c b/tools/firmware-utils/src/mkdlinkfw.c
index 87605004fe..71828bd91a 100644
--- a/tools/firmware-utils/src/mkdlinkfw.c
+++ b/tools/firmware-utils/src/mkdlinkfw.c
@@ -101,9 +101,7 @@ char *progname;
uint32_t firmware_size;
uint16_t family_member;
char *rom_id[12] = { 0 };
-
char image_type;
-int add_jffs2_eof;
static void usage(int status)
{