diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 01:42:05 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 17:11:30 +0200 |
commit | 5feb3d651dbd1b096a26963bd1dffcfe0a5f9eea (patch) | |
tree | aa82bb7320480efba49b850b21193ecfee963fe3 /tcpip | |
parent | 1245fbd2a8d60bab7b16b8a1d3c0122fee72f53f (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>
Diffstat (limited to 'tcpip')
-rw-r--r-- | tcpip/rip98d.c | 4 | ||||
-rw-r--r-- | tcpip/ttylinkd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tcpip/rip98d.c b/tcpip/rip98d.c index 9ea3dd2..b05d196 100644 --- a/tcpip/rip98d.c +++ b/tcpip/rip98d.c @@ -30,13 +30,13 @@ struct dest_struct dest_list[50]; -int dest_count = 0; +int dest_count; int debug = FALSE; int route_restrict = FALSE; int logging = FALSE; -struct route_struct *first_route = NULL; +struct route_struct *first_route; static struct mask_struct { unsigned long int mask; diff --git a/tcpip/ttylinkd.c b/tcpip/ttylinkd.c index 1cfc610..2babaeb 100644 --- a/tcpip/ttylinkd.c +++ b/tcpip/ttylinkd.c @@ -472,7 +472,7 @@ int send_control(int skt, struct in_addr addr, CTL_MSG msg, CTL_RESPONSE *resp) fd_set fdvar; struct timeval timeout; struct sockaddr_in sin; - static int talk_port = 0; + static int talk_port; struct servent *pse; /* Look up talk port once only */ |