libkern: clean up empty lines in .c and .h files
This commit is contained in:
parent
1a18003240
commit
1060326fb6
@ -154,4 +154,3 @@ void
|
||||
|
||||
memcpy(dst0, src0, length);
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,6 @@ iconv_xlat16_conv(void *d2p, const char **inbuf,
|
||||
dst = *outbuf;
|
||||
|
||||
while(ir > 0 && or > 0) {
|
||||
|
||||
inlen = 0;
|
||||
code = 0;
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -47,5 +47,3 @@ inet_ntoa_r(struct in_addr ina, char *buf)
|
||||
ucp[3] & 0xff);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
|
@ -237,7 +237,6 @@ _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc)
|
||||
*frompcindex = toindex;
|
||||
goto done;
|
||||
}
|
||||
|
||||
}
|
||||
done:
|
||||
#ifdef _KERNEL
|
||||
|
@ -129,4 +129,3 @@ murmur3_32_hash32(const uint32_t *data, size_t count, uint32_t seed)
|
||||
hash ^= hash >> 16;
|
||||
return (hash);
|
||||
}
|
||||
|
||||
|
@ -63,4 +63,3 @@ __aeabi_ulcmp(unsigned long long a, unsigned long long b)
|
||||
return __ucmpdi2(a, b) - 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user