ARC: Remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Tue, 17 Apr 2018 16:01:15 +0000 (19:01 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Tue, 17 Apr 2018 17:52:17 +0000 (20:52 +0300)
"Global data" structure "gd" is not used in init_helpers.c
thus DECLARE_GLOBAL_DATA_PTR might be safely removed.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/lib/init_helpers.c

index 435fe96ef447aa0e0779cb00de34d91b93e1cbaf..822318ff439458959f8dc57071a7b2b11d50a5ee 100644 (file)
@@ -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();