diff options
author | Jagan Teki | 2018-08-20 17:13:15 +0530 |
---|---|---|
committer | Jagan Teki | 2018-08-20 18:10:43 +0530 |
commit | d8024074e43c2a99ecf93d919544d82f69025521 (patch) | |
tree | 477d0db03fb0c137a4df8c0693845ecc3b76d0f9 /board/sunxi | |
parent | 7ac5f33483169b4e2fd983c414dac06639b4e19c (diff) |
board: sunxi: Remove unused local variables
variables buf from board_mmc_init, and ret from misc_init_r
were unused on the functions, so remove it.
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/sunxi')
-rw-r--r-- | board/sunxi/board.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 857d5ff0103..d1d7f9f4006 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -503,7 +503,6 @@ static void mmc_pinmux_setup(int sdc) int board_mmc_init(bd_t *bis) { __maybe_unused struct mmc *mmc0, *mmc1; - __maybe_unused char buf[512]; mmc_pinmux_setup(CONFIG_MMC_SUNXI_SLOT); mmc0 = sunxi_mmc_init(CONFIG_MMC_SUNXI_SLOT); @@ -759,7 +758,6 @@ static void setup_environment(const void *fdt) int misc_init_r(void) { - __maybe_unused int ret; uint boot; env_set("fel_booted", NULL); |