Module Name:    src
Committed By:   joerg
Date:           Sun Oct  4 08:17:03 UTC 2015

Modified Files:
        src/sys/arch/sparc/sparc: db_interface.c

Log Message:
Arrays are never NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/sparc/sparc/db_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc/sparc/db_interface.c
diff -u src/sys/arch/sparc/sparc/db_interface.c:1.90 src/sys/arch/sparc/sparc/db_interface.c:1.91
--- src/sys/arch/sparc/sparc/db_interface.c:1.90	Fri Feb 28 10:16:51 2014
+++ src/sys/arch/sparc/sparc/db_interface.c	Sun Oct  4 08:17:03 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_interface.c,v 1.90 2014/02/28 10:16:51 skrll Exp $ */
+/*	$NetBSD: db_interface.c,v 1.91 2015/10/04 08:17:03 joerg Exp $ */
 
 /*
  * Mach Operating System
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.90 2014/02/28 10:16:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.91 2015/10/04 08:17:03 joerg Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -240,9 +240,6 @@ db_suspend_others(void)
 	int cpu_me = cpu_number();
 	int win;
 
-	if (cpus == NULL)
-		return 1;
-
 	__cpu_simple_lock(&db_lock);
 	if (ddb_cpu == NOCPU)
 		ddb_cpu = cpu_me;

Reply via email to