summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-09-23 03:31:51 +0000
committeroster <oster@NetBSD.org>2002-09-23 03:31:51 +0000
commita8c038ad35e2bd93100d71934490b13179f2aca3 (patch)
tree4eee11842da0fda6a74e4f37a979955bdf34567f /sys/dev/raidframe
parent6248b5281d2ab6f0b0807e3b609215d26b4d45a2 (diff)
struct proc *p was only assigned to. Thanks Simon B.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index ad3cfb1a398..cfefa52af38 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.138 2002/09/23 03:28:41 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.139 2002/09/23 03:31:51 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -114,7 +114,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.138 2002/09/23 03:28:41 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.139 2002/09/23 03:31:51 oster Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -2513,15 +2513,12 @@ rf_UnconfigureVnodes(raidPtr)
RF_Raid_t *raidPtr;
{
int r,c;
- struct proc *p;
struct vnode *vp;
int acd;
/* We take this opportunity to close the vnodes like we should.. */
- p = raidPtr->engine_thread;
-
for (r = 0; r < raidPtr->numRow; r++) {
for (c = 0; c < raidPtr->numCol; c++) {
#if 0