projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4006200
)
ARC: Remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c
author
Eugeniy Paltsev
<Eugeniy.Paltsev@synopsys.com>
Tue, 17 Apr 2018 16:01:15 +0000
(19:01 +0300)
committer
Alexey 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
patch
|
blob
|
history
diff --git
a/arch/arc/lib/init_helpers.c
b/arch/arc/lib/init_helpers.c
index 435fe96ef447aa0e0779cb00de34d91b93e1cbaf..822318ff439458959f8dc57071a7b2b11d50a5ee 100644
(file)
--- 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();