All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] p1_p2_rdb: Fix unused variable warning
@ 2017-04-19  2:26 Tom Rini
  2017-04-19 15:37 ` York Sun
  2017-05-09 13:11 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Rini @ 2017-04-19  2:26 UTC (permalink / raw)
  To: u-boot

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>
---
 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;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] p1_p2_rdb: Fix unused variable warning
  2017-04-19  2:26 [U-Boot] [PATCH] p1_p2_rdb: Fix unused variable warning Tom Rini
@ 2017-04-19 15:37 ` York Sun
  2017-05-09 13:11 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2017-04-19 15:37 UTC (permalink / raw)
  To: u-boot

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 <york.sun@nxp.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  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 <york.sun@nxp.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] p1_p2_rdb: Fix unused variable warning
  2017-04-19  2:26 [U-Boot] [PATCH] p1_p2_rdb: Fix unused variable warning Tom Rini
  2017-04-19 15:37 ` York Sun
@ 2017-05-09 13:11 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-05-09 13:11 UTC (permalink / raw)
  To: u-boot

On Tue, Apr 18, 2017 at 10:26:35PM -0400, Tom Rini wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170509/645b80f4/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-09 13:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19  2:26 [U-Boot] [PATCH] p1_p2_rdb: Fix unused variable warning Tom Rini
2017-04-19 15:37 ` York Sun
2017-05-09 13:11 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.