From: York Sun Date: Wed, 19 Apr 2017 08:37:28 -0700 Subject: [U-Boot] [PATCH] p1_p2_rdb: Fix unused variable warning In-Reply-To: <1492568795-22192-1-git-send-email-trini@konsulko.com> References: <1492568795-22192-1-git-send-email-trini@konsulko.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/18/2017 07:25 PM, Tom Rini wrote: > With gcc-6 we see a warning that sysclk_tbl is defined but unused, so > remove it. > > Cc: York Sun > Signed-off-by: Tom Rini > --- > board/freescale/p1_p2_rdb_pc/spl.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/board/freescale/p1_p2_rdb_pc/spl.c b/board/freescale/p1_p2_rdb_pc/spl.c > index 1cf3497aa688..ca7ba5754e25 100644 > --- a/board/freescale/p1_p2_rdb_pc/spl.c > +++ b/board/freescale/p1_p2_rdb_pc/spl.c > @@ -17,11 +17,6 @@ > > 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; > Thanks for catching this. Reviewed-by: York Sun