sunxi: remove bogus mmc_pinmux_setup() prototype
authorAndre Przywara <andre.przywara@arm.com>
Mon, 28 Nov 2022 00:55:20 +0000 (00:55 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 14 Dec 2022 22:31:25 +0000 (22:31 +0000)
Since all callers of mmc_pinmux_setup() are located after the definition
of that function, there is no need for a forward declaration (anymore?).

Remove the prototype along with its #ifdef guards.

Reviewed-by: Samuel Holland <samuel@sholland.org>
Tested-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/board.c

index 4d2491b..4fe749f 100644 (file)
@@ -184,10 +184,6 @@ enum env_location env_get_location(enum env_operation op, int prio)
        return ENVL_UNKNOWN;
 }
 
-#ifdef CONFIG_DM_MMC
-static void mmc_pinmux_setup(int sdc);
-#endif
-
 /* add board specific code here */
 int board_init(void)
 {