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 #if 0'ed code.



details:   https://anonhg.NetBSD.org/src/rev/8f04a1b218ba
branches:  trunk
changeset: 480293:8f04a1b218ba
user:      oster <oster%NetBSD.org@localhost>
date:      Sun Jan 09 01:12:05 2000 +0000

description:
Nuke #if 0'ed code.

diffstat:

 sys/dev/raidframe/rf_reconstruct.c |  13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diffs (34 lines):

diff -r d575553a9c21 -r 8f04a1b218ba sys/dev/raidframe/rf_reconstruct.c
--- a/sys/dev/raidframe/rf_reconstruct.c        Sun Jan 09 00:00:18 2000 +0000
+++ b/sys/dev/raidframe/rf_reconstruct.c        Sun Jan 09 01:12:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_reconstruct.c,v 1.10 2000/01/08 22:57:31 oster Exp $        */
+/*     $NetBSD: rf_reconstruct.c,v 1.11 2000/01/09 01:12:05 oster Exp $        */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -85,11 +85,6 @@
 #define DDprintf7(s,a,b,c,d,e,f,g) if (rf_reconDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void *)((unsigned 
long)e),(void *)((unsigned long)f),(void *)((unsigned long)g),NULL)
 #define DDprintf8(s,a,b,c,d,e,f,g,h) if (rf_reconDebug) rf_debug_printf(s,(void *)((unsigned long)a),(void *)((unsigned long)b),(void *)((unsigned long)c),(void *)((unsigned long)d),(void 
*)((unsigned long)e),(void *)((unsigned long)f),(void *)((unsigned long)g),(void *)((unsigned long)h))
 
-#if 0
-static RF_Thread_t recon_thr_handle;
-static int recon_thread_initialized = 0;
-#endif
-
 static RF_FreeList_t *rf_recond_freelist;
 #define RF_MAX_FREE_RECOND  4
 #define RF_RECOND_INC       1
@@ -219,12 +214,6 @@
                rf_ShutdownReconstruction(NULL);
                return (rc);
        }
-#if 0
-       if (!recon_thread_initialized) {
-               RF_CREATE_THREAD(recon_thr_handle, rf_ReconKernelThread, NULL, "raid_recon");
-               recon_thread_initialized = 1;
-       }
-#endif
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index