Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Remove unnecessary cast



details:   https://anonhg.NetBSD.org/src/rev/0bd65c3a11d6
branches:  trunk
changeset: 1006615:0bd65c3a11d6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jan 21 04:59:47 2020 +0000

description:
Remove unnecessary cast

diffstat:

 sys/arch/arm/arm/arm_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 21c42c6f5bb0 -r 0bd65c3a11d6 sys/arch/arm/arm/arm_machdep.c
--- a/sys/arch/arm/arm/arm_machdep.c    Tue Jan 21 04:54:11 2020 +0000
+++ b/sys/arch/arm/arm/arm_machdep.c    Tue Jan 21 04:59:47 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_machdep.c,v 1.60 2020/01/07 09:57:10 skrll Exp $   */
+/*     $NetBSD: arm_machdep.c,v 1.61 2020/01/21 04:59:47 skrll Exp $   */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.60 2020/01/07 09:57:10 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.61 2020/01/21 04:59:47 skrll Exp $");
 
 #include <sys/atomic.h>
 #include <sys/cpu.h>
@@ -309,7 +309,7 @@
 void
 cpu_kpreempt_exit(uintptr_t where)
 {
-       atomic_and_uint(&curcpu()->ci_astpending, (unsigned int)~__BIT(1));
+       atomic_and_uint(&curcpu()->ci_astpending, ~__BIT(1));
 }
 
 bool



Home | Main Index | Thread Index | Old Index