svn commit: r365081 - head/sys/libkern

Mateusz Guzik mjg at FreeBSD.org
Tue Sep 1 21:25:25 UTC 2020


Author: mjg
Date: Tue Sep  1 21:25:23 2020
New Revision: 365081
URL: https://svnweb.freebsd.org/changeset/base/365081

Log:
  libkern: clean up empty lines in .c and .h files

Modified:
  head/sys/libkern/bcopy.c
  head/sys/libkern/gsb_crc32.c
  head/sys/libkern/iconv_ucs.c
  head/sys/libkern/iconv_xlat16.c
  head/sys/libkern/inet_aton.c
  head/sys/libkern/inet_ntoa.c
  head/sys/libkern/mcount.c
  head/sys/libkern/murmur3_32.c
  head/sys/libkern/ucmpdi2.c

Modified: head/sys/libkern/bcopy.c
==============================================================================
--- head/sys/libkern/bcopy.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/bcopy.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -154,4 +154,3 @@ void
 
 	memcpy(dst0, src0, length);
 }
-

Modified: head/sys/libkern/gsb_crc32.c
==============================================================================
--- head/sys/libkern/gsb_crc32.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/gsb_crc32.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -220,7 +220,6 @@ singletable_crc32c(uint32_t crc, const void *buf, 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:
@@ -686,7 +671,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,

Modified: head/sys/libkern/iconv_ucs.c
==============================================================================
--- head/sys/libkern/iconv_ucs.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/iconv_ucs.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -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);
 }
-

Modified: head/sys/libkern/iconv_xlat16.c
==============================================================================
--- head/sys/libkern/iconv_xlat16.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/iconv_xlat16.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -131,7 +131,6 @@ iconv_xlat16_conv(void *d2p, const char **inbuf,
 	dst = *outbuf;
 
 	while(ir > 0 && or > 0) {
-
 		inlen = 0;
 		code = 0;
 

Modified: head/sys/libkern/inet_aton.c
==============================================================================
--- head/sys/libkern/inet_aton.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/inet_aton.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -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);
 }
-

Modified: head/sys/libkern/inet_ntoa.c
==============================================================================
--- head/sys/libkern/inet_ntoa.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/inet_ntoa.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -47,5 +47,3 @@ inet_ntoa_r(struct in_addr ina, char *buf)
 		ucp[3] & 0xff);
 	return buf;
 }
-
-

Modified: head/sys/libkern/mcount.c
==============================================================================
--- head/sys/libkern/mcount.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/mcount.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -237,7 +237,6 @@ _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc)
 			*frompcindex = toindex;
 			goto done;
 		}
-
 	}
 done:
 #ifdef _KERNEL

Modified: head/sys/libkern/murmur3_32.c
==============================================================================
--- head/sys/libkern/murmur3_32.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/murmur3_32.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -129,4 +129,3 @@ murmur3_32_hash32(const uint32_t *data, size_t count, 
 	hash ^= hash >> 16;
 	return (hash);
 }
-

Modified: head/sys/libkern/ucmpdi2.c
==============================================================================
--- head/sys/libkern/ucmpdi2.c	Tue Sep  1 21:24:33 2020	(r365080)
+++ head/sys/libkern/ucmpdi2.c	Tue Sep  1 21:25:23 2020	(r365081)
@@ -63,4 +63,3 @@ __aeabi_ulcmp(unsigned long long a, unsigned long long
 	return __ucmpdi2(a, b) - 1;
 }
 #endif
-


More information about the svn-src-head mailing list