|
@@ -180,7 +180,7 @@ static const __u16 crc10_table[256] = {
|
|
* Perform a memcpy and calculate fcs using ppp 10bit CRC algorithm. Return
|
|
* Perform a memcpy and calculate fcs using ppp 10bit CRC algorithm. Return
|
|
* new 10 bit FCS.
|
|
* new 10 bit FCS.
|
|
*/
|
|
*/
|
|
-static __u16 __inline__ fcs_compute10(unsigned char *sp, int len, __u16 fcs)
|
|
|
|
|
|
+static inline __u16 fcs_compute10(unsigned char *sp, int len, __u16 fcs)
|
|
{
|
|
{
|
|
for (; len-- > 0; fcs = CRC10_FCS(fcs, *sp++));
|
|
for (; len-- > 0; fcs = CRC10_FCS(fcs, *sp++));
|
|
return fcs;
|
|
return fcs;
|