carl9170 firmware tools: remove unused otus_magic
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 22 Aug 2016 21:39:55 +0000 (23:39 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 22 Aug 2016 21:45:21 +0000 (23:45 +0200)
gcc 6.2.0 is warning about the following unused const:
src/fwinfo.c:265:22: warning: ‘otus_magic’ defined but not used.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
tools/src/fwinfo.c

index 4270564a43da0370517be2846bd99e6db92e4de0..28b6e7d1bbf633087705856a7b55718d308f7720 100644 (file)
@@ -242,8 +242,6 @@ static const struct {
        ADD_HANDLER(LAST, show_last_desc),
 };
 
-static const uint8_t otus_magic[4] = { OTUS_MAGIC };
-
 static void show_desc_head(struct carl9170fw_desc_head *head)
 {
 #define P(c) (isprint(c) ? c :  ' ')