Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Nix trailing whitespace. No functional change.
details: https://anonhg.NetBSD.org/src/rev/cee42dfc09ea
branches: trunk
changeset: 354891:cee42dfc09ea
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Jul 03 00:53:33 2017 +0000
description:
Nix trailing whitespace. No functional change.
diffstat:
sys/kern/kern_event.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 0624545c010f -r cee42dfc09ea sys/kern/kern_event.c
--- a/sys/kern/kern_event.c Mon Jul 03 00:51:44 2017 +0000
+++ b/sys/kern/kern_event.c Mon Jul 03 00:53:33 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_event.c,v 1.92 2017/07/01 20:08:56 christos Exp $ */
+/* $NetBSD: kern_event.c,v 1.93 2017/07/03 00:53:33 riastradh Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.92 2017/07/01 20:08:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_event.c,v 1.93 2017/07/03 00:53:33 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -141,7 +141,7 @@
* These should be listed in the numeric order of the EVFILT_* defines.
* If filtops is NULL, the filter isn't implemented in NetBSD.
* End of list is when name is NULL.
- *
+ *
* Note that 'refcnt' is meaningless for built-in filters.
*/
struct kfilter {
@@ -1020,7 +1020,6 @@
KERNEL_UNLOCK_ONE(NULL); /* XXXSMP */
if (error != 0) {
#ifdef DIAGNOSTIC
-
printf("%s: event type %d not supported for "
"file type %d (error %d)\n", __func__,
kn->kn_filter, kn->kn_obj ?
@@ -1181,7 +1180,7 @@
} else {
/* no timeout, wait forever */
timeout = 0;
- }
+ }
memset(&morker, 0, sizeof(morker));
marker = &morker;
@@ -1614,7 +1613,7 @@
mutex_spin_exit(&kq->kq_lock);
mutex_exit(&fdp->fd_lock);
- if (kn->kn_fop->f_isfd)
+ if (kn->kn_fop->f_isfd)
fd_putfile(kn->kn_id);
atomic_dec_uint(&kn->kn_kfilter->refcnt);
kmem_free(kn, sizeof(*kn));
Home |
Main Index |
Thread Index |
Old Index