summaryrefslogtreecommitdiffstats
path: root/ax25rtd/ax25rtd.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 01:42:06 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-02 18:16:05 +0200
commit1725ab720b56a94f895528a8aa89fe054ae9136d (patch)
tree34eab8fff24a2143a93588fa2ed4fdfbdc3c133a /ax25rtd/ax25rtd.c
parent904e050aa0f4250adc7b7f8125000ef26715abef (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 'ax25rtd/ax25rtd.c')
-rw-r--r--ax25rtd/ax25rtd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c
index 5a7dca1..5b40228 100644
--- a/ax25rtd/ax25rtd.c
+++ b/ax25rtd/ax25rtd.c
@@ -61,12 +61,12 @@ config *Config = NULL;
int reload = 0;
-ip_rt_entry *ip_routes = NULL;
-int ip_routes_cnt = 0;
+ip_rt_entry *ip_routes;
+int ip_routes_cnt;
int ip_maxroutes = IP_MAXROUTES;
-ax25_rt_entry *ax25_routes = NULL;
-int ax25_routes_cnt = 0;
+ax25_rt_entry *ax25_routes;
+int ax25_routes_cnt;
int ax25_maxroutes = AX25_MAXROUTES;
char ip_encaps_dev[32] = "";