Module Name: src
Committed By: cliff
Date: Thu Apr 14 05:54:24 UTC 2011
Modified Files:
src/sys/arch/mips/mips: cpu_subr.c
Log Message:
- no need to check lsw_cpu_run != NULL before calling, nullop is default
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/mips/cpu_subr.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/mips/mips/cpu_subr.c
diff -u src/sys/arch/mips/mips/cpu_subr.c:1.7 src/sys/arch/mips/mips/cpu_subr.c:1.8
--- src/sys/arch/mips/mips/cpu_subr.c:1.7 Thu Apr 14 05:08:51 2011
+++ src/sys/arch/mips/mips/cpu_subr.c Thu Apr 14 05:54:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_subr.c,v 1.7 2011/04/14 05:08:51 cliff Exp $ */
+/* $NetBSD: cpu_subr.c,v 1.8 2011/04/14 05:54:24 cliff Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.7 2011/04/14 05:08:51 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.8 2011/04/14 05:54:24 cliff Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -936,8 +936,7 @@
* Let this CPU do its own post-running initialization
* (for things that have to be done on the local CPU).
*/
- if (mips_locoresw.lsw_cpu_run != NULL)
- (*mips_locoresw.lsw_cpu_run)(ci);
+ (*mips_locoresw.lsw_cpu_run)(ci);
/*
* Now turn on interrupts.