Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys The DEVSW_MODULE_INIT stuff is for possible future u...
details: https://anonhg.NetBSD.org/src/rev/f9c0ed9b02c5
branches: trunk
changeset: 353728:f9c0ed9b02c5
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri May 19 11:45:40 2017 +0000
description:
The DEVSW_MODULE_INIT stuff is for possible future use; remove it for now.
diffstat:
sys/sys/localcount.h | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diffs (21 lines):
diff -r 32a2b011a5cb -r f9c0ed9b02c5 sys/sys/localcount.h
--- a/sys/sys/localcount.h Fri May 19 11:12:50 2017 +0000
+++ b/sys/sys/localcount.h Fri May 19 11:45:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: localcount.h,v 1.2 2017/05/19 00:01:34 pgoyette Exp $ */
+/* $NetBSD: localcount.h,v 1.3 2017/05/19 11:45:40 pgoyette Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -55,11 +55,4 @@
void localcount_release(struct localcount *, struct kcondvar *,
struct kmutex *);
-#ifdef _MODULE
-#define DEVSW_MODULE_INIT \
- .d_localcount = &(struct localcount){NULL, NULL},
-#else
-#define DEVSW_MODULE_INIT
-#endif
-
#endif /* _SYS_LOCALCOUNT_H */
Home |
Main Index |
Thread Index |
Old Index