From 5feb3d651dbd1b096a26963bd1dffcfe0a5f9eea Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 01:42:05 +0200 Subject: 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 --- tcpip/rip98d.c | 4 ++-- tcpip/ttylinkd.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tcpip') 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 */ -- cgit v1.2.3