summaryrefslogtreecommitdiffstats
path: root/ax25ipd/crc.c
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/crc.c
parent8ad248395c0fa0bccff6d0f9c43712018f0645f9 (diff)
Remove parenthesis around arguments of return statements.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25ipd/crc.c')
-rw-r--r--ax25ipd/crc.c4
1 files changed, 2 insertions, 2 deletions
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;
}
/*