]> git.sur5r.net Git - u-boot/commitdiff
p1_p2_rdb: Fix unused variable warning
authorTom Rini <trini@konsulko.com>
Wed, 19 Apr 2017 02:26:35 +0000 (22:26 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 9 May 2017 13:11:04 +0000 (09:11 -0400)
With gcc-6 we see a warning that sysclk_tbl is defined but unused, so
remove it.

Cc: York Sun <york.sun@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/p1_p2_rdb_pc/spl.c

index 1cf3497aa688a62ba85fb0df3bbf2c0424a4419e..ca7ba5754e25b309e9ae73a54d268c2642c28ee2 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static const u32 sysclk_tbl[] = {
-       66666000, 7499900, 83332500, 8999900,
-       99999000, 11111000, 12499800, 13333200
-};
-
 phys_size_t get_effective_memsize(void)
 {
        return CONFIG_SYS_L2_SIZE;