Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/common/include/linux Remove duplicate defin...



details:   https://anonhg.NetBSD.org/src/rev/74b9a4f8adb3
branches:  trunk
changeset: 1028111:74b9a4f8adb3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:54:12 2021 +0000

description:
Remove duplicate definition of BITS_PER_BYTE


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/common/include/linux/bitops.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 9b0a4047d6a3 -r 74b9a4f8adb3 sys/external/bsd/common/include/linux/bitops.h
--- a/sys/external/bsd/common/include/linux/bitops.h    Sun Dec 19 01:54:05 2021 +0000
+++ b/sys/external/bsd/common/include/linux/bitops.h    Sun Dec 19 01:54:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bitops.h,v 1.11 2021/12/19 01:33:59 riastradh Exp $    */
+/*     $NetBSD: bitops.h,v 1.12 2021/12/19 01:54:12 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -108,7 +108,6 @@
  * turns up.
  */
 
-#define BITS_PER_BYTE 8
 #define        BITS_TO_LONGS(n)                                                \
        roundup2((n), (sizeof(unsigned long) * CHAR_BIT))
 



Home | Main Index | Thread Index | Old Index