drivers/net: return operator cleanup
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / hamradio / hdlcdrv.c
index b8bdf9d51cd44c5b145af8c860e0f2a0a771a898..5b37579e84b788952988ce5f4b5d48738e16e472 100644 (file)
@@ -110,7 +110,7 @@ static int calc_crc_ccitt(const unsigned char *buf, int cnt)
        for (; cnt > 0; cnt--)
                crc = (crc >> 8) ^ crc_ccitt_table[(crc ^ *buf++) & 0xff];
        crc ^= 0xffff;
-       return (crc & 0xffff);
+       return crc & 0xffff;
 }
 #endif