mtd: cleanup unused code and variables in fis.c
authorPetr Štetiar <ynezz@true.cz>
Wed, 17 Jul 2019 21:04:22 +0000 (23:04 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 17 Jul 2019 21:06:02 +0000 (23:06 +0200)
commitd6198d8625310cd1ad22113f137e48261fcc8ff6
treea1976f242f46daaebf5392edd5336d5582ffb75e
parentbc18c2bfe7a80630eea15aa71800b0829ce32634
mtd: cleanup unused code and variables in fis.c

While compile checking mtd changes in PR#1359 I've noticed following
compiler warnings and cleaned them up:

 fis.c: In function 'fis_remap':
 fis.c:143:25: warning: variable 'redboot' set but not used [-Wunused-but-set-variable]
   struct fis_image_desc *redboot = NULL;
                         ^~~~~~~
 fis.c:142:25: warning: variable 'fisdir' set but not used [-Wunused-but-set-variable]
   struct fis_image_desc *fisdir = NULL;
                         ^~~~~~

Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/system/mtd/src/fis.c