remove unused DECLARE_GLOBAL_DATA_PTR
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
1a886dd478
commit
f6ad18c759
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue