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

Tom Rini trini at konsulko.com
Tue Apr 17 16:49:38 UTC 2018


On Tue, Apr 17, 2018 at 07:01:15PM +0300, Eugeniy Paltsev wrote:

> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> ---
>  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 <asm/cache.h>
>  #include <common.h>
>  
> -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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180417/8bc952e5/attachment.sig>


More information about the U-Boot mailing list