Commit 4fa7886f4e811b5bda272aee325d5135e639da80

Authored by Ji Luo
Committed by Ye Li
1 parent 460f3c0ea4

MA-18635 Android: eliminate build warnings

Fix warning: unused variable 'status'.

Test: build.

Change-Id: I948a33686892f940d6be0e315756c23e0ae561ae
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit 0bb05e819f427780a3a74b95a78f12b6dd0acaa7)

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/fastboot/fb_fsl/fb_fsl_command.c
... ... @@ -862,7 +862,7 @@
862 862 #if defined(CONFIG_FASTBOOT_LOCK)
863 863 if (strncmp(cmd, "gpt", 3) == 0) {
864 864 int gpt_valid = 0;
865   - int status, mmc_no;
  865 + int mmc_no;
866 866 struct blk_desc *dev_desc;
867 867 mmc_no = fastboot_devinfo.dev_id;
868 868 dev_desc = blk_get_dev("mmc", mmc_no);