diff options
author | Stefan Roese <sr@denx.de> | 2011-11-15 08:03:06 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-16 21:17:13 +0100 |
commit | 3cceed20e0bf61ff4c0bb5c885c8feb1af004e63 (patch) | |
tree | 0336bec7461732644d68c14f2c23bebaa520292e /board/esd | |
parent | 2c2722379ffbd7ed66c494c92b5c5f7a94248700 (diff) | |
download | u-boot-imx-3cceed20e0bf61ff4c0bb5c885c8feb1af004e63.zip u-boot-imx-3cceed20e0bf61ff4c0bb5c885c8feb1af004e63.tar.gz u-boot-imx-3cceed20e0bf61ff4c0bb5c885c8feb1af004e63.tar.bz2 |
cmd_pci405.c: Fix GCC 4.6 build warnings
Fix:
cmd_pci405.c: In function 'do_loadpci':
cmd_pci405.c:45:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/esd')
-rw-r--r-- | board/esd/pci405/cmd_pci405.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/esd/pci405/cmd_pci405.c b/board/esd/pci405/cmd_pci405.c index 13f9019..f570ef3 100644 --- a/board/esd/pci405/cmd_pci405.c +++ b/board/esd/pci405/cmd_pci405.c @@ -42,7 +42,6 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) unsigned int *ptr = 0; int count = 0; int count2 = 0; - int status; int i; char addr[16]; char str[] = "\\|/-"; @@ -99,7 +98,7 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) local_args[0] = argv[0]; local_args[1] = NULL; - status = do_bootm (cmdtp, 0, 1, local_args); + do_bootm (cmdtp, 0, 1, local_args); } return 0; |