Re: [U-Boot] [PATCH] ARC: remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c

2018-04-17 Thread Tom Rini
On Tue, Apr 17, 2018 at 07:01:15PM +0300, Eugeniy Paltsev wrote:

> Signed-off-by: Eugeniy Paltsev 
> ---
>  arch/arc/lib/init_helpers.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arc/lib/init_helpers.c b/arch/arc/lib/init_helpers.c
> index 435fe96ef4..822318ff43 100644
> --- a/arch/arc/lib/init_helpers.c
> +++ b/arch/arc/lib/init_helpers.c
> @@ -7,8 +7,6 @@
>  #include 
>  #include 
>  
> -DECLARE_GLOBAL_DATA_PTR;
> -
>  int init_cache_f_r(void)
>  {
>   sync_n_cleanup_cache_all();

Interesting.  A quick git grep shows a lot of files like this.  I'm
going to take a stab at a more comprehensive patch.

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH] ARC: remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c

2018-04-17 Thread Eugeniy Paltsev
Signed-off-by: Eugeniy Paltsev 
---
 arch/arc/lib/init_helpers.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arc/lib/init_helpers.c b/arch/arc/lib/init_helpers.c
index 435fe96ef4..822318ff43 100644
--- a/arch/arc/lib/init_helpers.c
+++ b/arch/arc/lib/init_helpers.c
@@ -7,8 +7,6 @@
 #include 
 #include 
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int init_cache_f_r(void)
 {
sync_n_cleanup_cache_all();
-- 
2.14.3

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot