summaryrefslogtreecommitdiffstats
path: root/kiss/kissattach.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 01:42:05 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-17 17:11:30 +0200
commit5feb3d651dbd1b096a26963bd1dffcfe0a5f9eea (patch)
treeaa82bb7320480efba49b850b21193ecfee963fe3 /kiss/kissattach.c
parent1245fbd2a8d60bab7b16b8a1d3c0122fee72f53f (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 'kiss/kissattach.c')
-rw-r--r--kiss/kissattach.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/kiss/kissattach.c b/kiss/kissattach.c
index 49f5ee2..e61eabb 100644
--- a/kiss/kissattach.c
+++ b/kiss/kissattach.c
@@ -33,15 +33,15 @@
#endif
static char *callsign;
-static int speed = 0;
-static int mtu = 0;
+static int speed;
+static int mtu;
static int logging = FALSE;
-static char *progname = NULL;
-static char *kttyname = NULL;
-static char *portname = NULL;
-static char *inetaddr = NULL;
-static int allow_broadcast = 0;
-static int i_am_unix98_pty_master = 0; /* unix98 ptmx support */
+static char *progname;
+static char *kttyname;
+static char *portname;
+static char *inetaddr;
+static int allow_broadcast;
+static int i_am_unix98_pty_master; /* unix98 ptmx support */
static char *kiss_basename(char *s)
{