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 Arrays are never NULL.
details: https://anonhg.NetBSD.org/src/rev/efc6fa9fc9b3
branches: trunk
changeset: 340827:efc6fa9fc9b3
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Oct 04 08:17:03 2015 +0000
description:
Arrays are never NULL.
diffstat:
sys/arch/sparc/sparc/db_interface.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 7a57e01ae5ad -r efc6fa9fc9b3 sys/arch/sparc/sparc/db_interface.c
--- a/sys/arch/sparc/sparc/db_interface.c Sun Oct 04 08:16:13 2015 +0000
+++ b/sys/arch/sparc/sparc/db_interface.c Sun Oct 04 08:17:03 2015 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index