Skip to contentSkip to conversation

ARC: remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c

PATCH New Eugeniy Paltsev 2 participants 2 messages Apr 17, 2018 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c

---
 arch/arc/lib/init_helpers.c | 2 --
 1 file changed, 2 deletions(-)
arch/arc/lib/init_helpers.c +0 -2
index 435fe96ef4..822318ff43 100644
@@ -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();
Signature · 1 line
2.14.3
#1 lore raw

PATCH 1/1 ARC: remove unused DECLARE_GLOBAL_DATA_PTR from init_helpers.c

Quoted 10 lines · Eugeniy Paltsev
---
 arch/arc/lib/init_helpers.c | 2 --
 1 file changed, 2 deletions(-)
arch/arc/lib/init_helpers.c +0 -0
index 435fe96ef4..822318ff43 100644

arch/arc/lib/init_helpers.c line 12

Quoted 8 lines
arch/arc/lib/init_helpers.c +0 -2
@@ -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.

Signature · 8 lines
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>