diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 01:42:03 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 17:04:02 +0200 |
commit | da5b97c823d64758eb2d092a0eee500119385529 (patch) | |
tree | db23212cb5eeadff726b6d378f38bbf7c082c6b1 | |
parent | d41edac9583dd2a4925fcd30b6ef646e9c76e465 (diff) |
Remove useless initializations to 0 or NULL.
They only inflate the .data section of the binary. Initializations to
FALSE are still left to do.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | ax25io.c | 2 | ||||
-rw-r--r-- | axconfig.c | 4 | ||||
-rw-r--r-- | nrconfig.c | 4 | ||||
-rw-r--r-- | rsconfig.c | 4 |
4 files changed, 7 insertions, 7 deletions
@@ -13,7 +13,7 @@ static inline int send_iac_iac(ax25io *p); static inline int send_iac_cmd(ax25io *p, unsigned char cmd, unsigned char opt); static inline int send_linemode(ax25io *p); -static ax25io *Iolist = NULL; +static ax25io *Iolist; /* --------------------------------------------------------------------- */ @@ -29,8 +29,8 @@ typedef struct _axport char *Description; } AX_Port; -static AX_Port *ax25_ports = NULL; -static AX_Port *ax25_port_tail = NULL; +static AX_Port *ax25_ports; +static AX_Port *ax25_port_tail; static int is_same_call(char *call1, char *call2) { @@ -29,8 +29,8 @@ typedef struct _nrport char *Description; } NR_Port; -static NR_Port *nr_ports = NULL; -static NR_Port *nr_port_tail = NULL; +static NR_Port *nr_ports; +static NR_Port *nr_port_tail; static int is_same_call(char *call1, char *call2) { @@ -28,8 +28,8 @@ typedef struct _rsport char *Description; } RS_Port; -static RS_Port *rs_ports = NULL; -static RS_Port *rs_port_tail = NULL; +static RS_Port *rs_ports; +static RS_Port *rs_port_tail; static RS_Port *rs_port_ptr(char *name) { |