summaryrefslogtreecommitdiff
path: root/arch/arc/lib
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2018-04-17 19:01:15 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2018-04-17 20:52:17 +0300
commit474e9312a803ee36dc984217b6e9b7190eca9865 (patch)
treed39fa0aafc8d52ffb5b6688e7bbf1a11c354c835 /arch/arc/lib
parent4006200d495724048080a12b1ea72c146bab903b (diff)
downloadu-boot-474e9312a803ee36dc984217b6e9b7190eca9865.tar.gz
ARC: Remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c
"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>
Diffstat (limited to 'arch/arc/lib')
-rw-r--r--arch/arc/lib/init_helpers.c2
1 files changed, 0 insertions, 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();