[PATCH 1/2] remove unused DECLARE_GLOBAL_DATA_PTR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 arch/arm/mach-netx/netx-cm.c |    1 -
 commands/loads.c             |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-netx/netx-cm.c b/arch/arm/mach-netx/netx-cm.c
index 58b2042..ebf9901 100644
--- a/arch/arm/mach-netx/netx-cm.c
+++ b/arch/arm/mach-netx/netx-cm.c
@@ -245,7 +245,6 @@ unsigned short crc16(unsigned short crc, unsigned int data)
 
 int netx_cm_init(void)
 {
-	DECLARE_GLOBAL_DATA_PTR;
 	int i;
 	char buf[MAX_USER_ZONE_SIZE];
 	struct netx_cm_userarea *area;
diff --git a/commands/loads.c b/commands/loads.c
index 6e0dc7f..c6617a4 100644
--- a/commands/loads.c
+++ b/commands/loads.c
@@ -31,8 +31,6 @@
 #include <exports.h>
 #include <xyzModem.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static ulong load_serial (ulong offset);
 static int read_record (char *buf, ulong len);
 static int do_echo = 1;
-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux