Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sysmon It's a function returning void; don't return ...



details:   https://anonhg.NetBSD.org/src/rev/e587b8b708c8
branches:  trunk
changeset: 337697:e587b8b708c8
user:      agc <agc%NetBSD.org@localhost>
date:      Fri Apr 24 00:04:47 2015 +0000

description:
It's a function returning void; don't return an error code.

diffstat:

 sys/dev/sysmon/sysmon_taskq.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3f75f751a7cd -r e587b8b708c8 sys/dev/sysmon/sysmon_taskq.c
--- a/sys/dev/sysmon/sysmon_taskq.c     Fri Apr 24 00:04:04 2015 +0000
+++ b/sys/dev/sysmon/sysmon_taskq.c     Fri Apr 24 00:04:47 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysmon_taskq.c,v 1.15 2015/04/23 23:22:03 pgoyette Exp $       */
+/*     $NetBSD: sysmon_taskq.c,v 1.16 2015/04/24 00:04:47 agc Exp $    */
 
 /*
  * Copyright (c) 2001, 2003 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_taskq.c,v 1.15 2015/04/23 23:22:03 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_taskq.c,v 1.16 2015/04/24 00:04:47 agc Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -139,7 +139,7 @@
 {
 
        if (sysmon_task_queue_initialized > 1)
-               return EBUSY;
+               return;
 
        mutex_enter(&sysmon_task_queue_mtx);
 



Home | Main Index | Thread Index | Old Index