diff --git a/sys/libkern/bcopy.c b/sys/libkern/bcopy.c index 1469cb1b707e..8e34ad0daa53 100644 --- a/sys/libkern/bcopy.c +++ b/sys/libkern/bcopy.c @@ -154,4 +154,3 @@ void memcpy(dst0, src0, length); } - diff --git a/sys/libkern/gsb_crc32.c b/sys/libkern/gsb_crc32.c index 7c2fdd7eb846..81583567ce84 100644 --- a/sys/libkern/gsb_crc32.c +++ b/sys/libkern/gsb_crc32.c @@ -220,7 +220,6 @@ singletable_crc32c(uint32_t crc, const void *buf, size_t size) { const uint8_t *p = buf; - while (size--) crc = crc32Table[(crc ^ *p++) & 0xff] ^ (crc >> 8); @@ -295,8 +294,6 @@ static const uint32_t sctp_crc_tableil8_o32[256] = * end of the CRC lookup table crc_tableil8_o32 */ - - /* * The following CRC lookup table was generated automagically using the * following model parameters: @@ -351,8 +348,6 @@ static const uint32_t sctp_crc_tableil8_o40[256] = * end of the CRC lookup table crc_tableil8_o40 */ - - /* * The following CRC lookup table was generated automagically using the * following model parameters: @@ -407,8 +402,6 @@ static const uint32_t sctp_crc_tableil8_o48[256] = * end of the CRC lookup table crc_tableil8_o48 */ - - /* * The following CRC lookup table was generated automagically using the * following model parameters: @@ -463,8 +456,6 @@ static const uint32_t sctp_crc_tableil8_o56[256] = * end of the CRC lookup table crc_tableil8_o56 */ - - /* * The following CRC lookup table was generated automagically using the * following model parameters: @@ -519,8 +510,6 @@ static const uint32_t sctp_crc_tableil8_o64[256] = * end of the CRC lookup table crc_tableil8_o64 */ - - /* * The following CRC lookup table was generated automagically using the * following model parameters: @@ -575,8 +564,6 @@ static const uint32_t sctp_crc_tableil8_o72[256] = * end of the CRC lookup table crc_tableil8_o72 */ - - /* * The following CRC lookup table was generated automagically using the * following model parameters: @@ -631,8 +618,6 @@ static const uint32_t sctp_crc_tableil8_o80[256] = * end of the CRC lookup table crc_tableil8_o80 */ - - /* * The following CRC lookup table was generated automagically using the * following model parameters: @@ -687,7 +672,6 @@ static const uint32_t sctp_crc_tableil8_o88[256] = * end of the CRC lookup table crc_tableil8_o88 */ - static uint32_t crc32c_sb8_64_bit(uint32_t crc, const unsigned char *p_buf, diff --git a/sys/libkern/iconv_ucs.c b/sys/libkern/iconv_ucs.c index 2b970e5a2cd5..30b0ee6f5a98 100644 --- a/sys/libkern/iconv_ucs.c +++ b/sys/libkern/iconv_ucs.c @@ -186,7 +186,6 @@ iconv_ucs_conv(void *d2p, const char **inbuf, dst = *outbuf; while (ir > 0 && or > 0) { - /* * The first half of conversion. * (convert any code into ENCODING_UNICODE) @@ -537,4 +536,3 @@ decode_surrogate(const u_char *ucs) return ((((ucs[0] & 0x3) << 18) | (ucs[1] << 10) | ((ucs[2] & 0x3) << 8) | ucs[3]) + 0x10000); } - diff --git a/sys/libkern/iconv_xlat16.c b/sys/libkern/iconv_xlat16.c index fd16ff5c4574..c92a5c2453fc 100644 --- a/sys/libkern/iconv_xlat16.c +++ b/sys/libkern/iconv_xlat16.c @@ -131,7 +131,6 @@ iconv_xlat16_conv(void *d2p, const char **inbuf, dst = *outbuf; while(ir > 0 && or > 0) { - inlen = 0; code = 0; diff --git a/sys/libkern/inet_aton.c b/sys/libkern/inet_aton.c index 79a7b99b9555..0a51041d84ca 100644 --- a/sys/libkern/inet_aton.c +++ b/sys/libkern/inet_aton.c @@ -94,12 +94,10 @@ inet_aton(const char *cp, struct in_addr *addr) gotend = 1; break; } else { - /* Invalid character, then fail. */ return (0); } } - } /* Concoct the address according to the number of parts specified. */ @@ -135,4 +133,3 @@ inet_aton(const char *cp, struct in_addr *addr) addr->s_addr = htonl(val); return (1); } - diff --git a/sys/libkern/inet_ntoa.c b/sys/libkern/inet_ntoa.c index 0c3444c3d0b3..c5d74d3544bf 100644 --- a/sys/libkern/inet_ntoa.c +++ b/sys/libkern/inet_ntoa.c @@ -47,5 +47,3 @@ inet_ntoa_r(struct in_addr ina, char *buf) ucp[3] & 0xff); return buf; } - - diff --git a/sys/libkern/mcount.c b/sys/libkern/mcount.c index 264cb2cef85c..5efa56c8f67a 100644 --- a/sys/libkern/mcount.c +++ b/sys/libkern/mcount.c @@ -237,7 +237,6 @@ _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) *frompcindex = toindex; goto done; } - } done: #ifdef _KERNEL diff --git a/sys/libkern/murmur3_32.c b/sys/libkern/murmur3_32.c index ef2a19221383..5a5b508932c7 100644 --- a/sys/libkern/murmur3_32.c +++ b/sys/libkern/murmur3_32.c @@ -129,4 +129,3 @@ murmur3_32_hash32(const uint32_t *data, size_t count, uint32_t seed) hash ^= hash >> 16; return (hash); } - diff --git a/sys/libkern/ucmpdi2.c b/sys/libkern/ucmpdi2.c index 97d9af0fdf05..87113f6382b4 100644 --- a/sys/libkern/ucmpdi2.c +++ b/sys/libkern/ucmpdi2.c @@ -63,4 +63,3 @@ __aeabi_ulcmp(unsigned long long a, unsigned long long b) return __ucmpdi2(a, b) - 1; } #endif -