summaryrefslogtreecommitdiffstats
path: root/ax25ipd/crc.c
diff options
context:
space:
mode:
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;
}
/*