Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/common/linux Omit vestigial cruft.



details:   https://anonhg.NetBSD.org/src/rev/9b898599e539
branches:  trunk
changeset: 992862:9b898599e539
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:38:51 2018 +0000

description:
Omit vestigial cruft.

diffstat:

 sys/external/bsd/common/linux/linux_work.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 71eb45f1b7e6 -r 9b898599e539 sys/external/bsd/common/linux/linux_work.c
--- a/sys/external/bsd/common/linux/linux_work.c        Mon Aug 27 13:38:32 2018 +0000
+++ b/sys/external/bsd/common/linux/linux_work.c        Mon Aug 27 13:38:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_work.c,v 1.8 2018/08/27 13:38:32 riastradh Exp $ */
+/*     $NetBSD: linux_work.c,v 1.9 2018/08/27 13:38:51 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.8 2018/08/27 13:38:32 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.9 2018/08/27 13:38:51 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -50,13 +50,6 @@
 
 #include <linux/workqueue.h>
 
-/* XXX Kludge until we sync with HEAD.  */
-#if DIAGNOSTIC
-#define        __diagused
-#else
-#define        __diagused      __unused
-#endif
-
 struct workqueue_struct {
        struct workqueue                *wq_workqueue;
 



Home | Main Index | Thread Index | Old Index