Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Nuke an unneeded #ifdef (__NetBSD__)
details: https://anonhg.NetBSD.org/src/rev/0dd643ec2c30
branches: trunk
changeset: 480258:0dd643ec2c30
user: oster <oster%NetBSD.org@localhost>
date: Sat Jan 08 01:18:36 2000 +0000
description:
Nuke an unneeded #ifdef (__NetBSD__)
diffstat:
sys/dev/raidframe/rf_paritylogDiskMgr.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (25 lines):
diff -r 0205cfda5097 -r 0dd643ec2c30 sys/dev/raidframe/rf_paritylogDiskMgr.c
--- a/sys/dev/raidframe/rf_paritylogDiskMgr.c Sat Jan 08 01:02:35 2000 +0000
+++ b/sys/dev/raidframe/rf_paritylogDiskMgr.c Sat Jan 08 01:18:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_paritylogDiskMgr.c,v 1.6 2000/01/07 03:41:01 oster Exp $ */
+/* $NetBSD: rf_paritylogDiskMgr.c,v 1.7 2000/01/08 01:18:36 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -640,14 +640,11 @@
raidPtr->parityLogDiskQueue.threadState |= RF_PLOG_SHUTDOWN;
RF_UNLOCK_MUTEX(raidPtr->parityLogDiskQueue.mutex);
RF_SIGNAL_COND(raidPtr->parityLogDiskQueue.cond);
-#if defined(__NetBSD__) && defined(_KERNEL)
+
/*
* In the NetBSD kernel, the thread must exit; returning would
* cause the proc trampoline to attempt to return to userspace.
*/
kthread_exit(0); /* does not return */
-#else
- return (0);
-#endif
}
#endif /* RF_INCLUDE_PARITYLOGGING > 0 */
Home |
Main Index |
Thread Index |
Old Index