From owner-svn-src-all@freebsd.org Tue Sep 1 21:25:25 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6514A379B24; Tue, 1 Sep 2020 21:25:25 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh0Tx24vXz4KDF; Tue, 1 Sep 2020 21:25:25 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B15E1FD75; Tue, 1 Sep 2020 21:25:25 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081LPP5Z024701; Tue, 1 Sep 2020 21:25:25 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LPNSs024690; Tue, 1 Sep 2020 21:25:23 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012125.081LPNSs024690@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:25:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365081 - head/sys/libkern X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/libkern X-SVN-Commit-Revision: 365081 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 21:25:25 -0000 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 -