Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc No need to cast return value of spl0().



details:   https://anonhg.NetBSD.org/src/rev/cfd746d660f0
branches:  trunk
changeset: 487568:cfd746d660f0
user:      pk <pk%NetBSD.org@localhost>
date:      Fri Jun 09 10:47:25 2000 +0000

description:
No need to cast return value of spl0().

diffstat:

 sys/arch/sparc/sparc/autoconf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 26235508e717 -r cfd746d660f0 sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c   Fri Jun 09 10:43:52 2000 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c   Fri Jun 09 10:47:25 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.138 2000/06/08 21:37:43 pk Exp $ */
+/*     $NetBSD: autoconf.c,v 1.139 2000/06/09 10:47:25 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -805,7 +805,7 @@
         */
        bzero(proc0paddr, sizeof(struct user));
 
-       (void)spl0();
+       spl0();
 }
 
 void



Home | Main Index | Thread Index | Old Index