summaryrefslogtreecommitdiffstats
path: root/ax25ipd
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 02:20:24 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-02 18:16:06 +0200
commitafa8313f928dadd74dba812bef6038ba0d144370 (patch)
treedf02d17a3b28acb7e84e91131913ae0ebde16c06 /ax25ipd
parent8ad248395c0fa0bccff6d0f9c43712018f0645f9 (diff)
Remove parenthesis around arguments of return statements.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25ipd')
-rw-r--r--ax25ipd/ax25ipd.c2
-rw-r--r--ax25ipd/crc.c4
-rw-r--r--ax25ipd/routing.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c
index b1786f5..f664e2e 100644
--- a/ax25ipd/ax25ipd.c
+++ b/ax25ipd/ax25ipd.c
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
/* and let the games begin */
io_start();
- return (0);
+ return 0;
}
diff --git a/ax25ipd/crc.c b/ax25ipd/crc.c
index d132968..c6d8eea 100644
--- a/ax25ipd/crc.c
+++ b/ax25ipd/crc.c
@@ -77,7 +77,7 @@ u16 pppfcs(u16 fcs, unsigned char *cp, int len)
while (len--)
fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff];
- return (fcs);
+ return fcs;
}
/*
@@ -108,7 +108,7 @@ int ok_crc(unsigned char *buf, int l)
fcs = PPPINITFCS;
fcs = pppfcs(fcs, buf, l);
- return (fcs == PPPGOODFCS);
+ return fcs == PPPGOODFCS;
}
/*
diff --git a/ax25ipd/routing.c b/ax25ipd/routing.c
index 4c3faed..1aca2b0 100644
--- a/ax25ipd/routing.c
+++ b/ax25ipd/routing.c
@@ -195,7 +195,7 @@ int is_call_bcast(unsigned char *call)
int i;
if (call == NULL)
- return (FALSE);
+ return FALSE;
for (i = 0; i < 6; i++)
bccall[i] = call[i] & 0xfe;
@@ -209,11 +209,11 @@ int is_call_bcast(unsigned char *call)
if (addrmatch(bccall, bp->callsign)) {
LOGL4("found broadcast %s\n",
call_to_a(bp->callsign));
- return (TRUE);
+ return TRUE;
}
bp = bp->next;
}
- return (FALSE);
+ return FALSE;
}
/* Traverse the routing table, transmitting the packet to each bcast route */