Nuke the last few bits of RF_DEBUG_ATOMIC that should have
disappeared a while back.
This commit is contained in:
parent
837589f349
commit
a38b721e5f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_driver.c,v 1.16 1999/12/03 03:18:45 oster Exp $ */
|
||||
/* $NetBSD: rf_driver.c,v 1.17 1999/12/07 02:13:28 oster Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -201,10 +201,6 @@ rf_BootRaidframe()
|
|||
return (EBUSY);
|
||||
raidframe_booted = 1;
|
||||
|
||||
#if RF_DEBUG_ATOMIC > 0
|
||||
rf_atent_init();
|
||||
#endif /* RF_DEBUG_ATOMIC > 0 */
|
||||
|
||||
rf_setup_threadid();
|
||||
rf_assign_threadid();
|
||||
|
||||
|
@ -243,9 +239,6 @@ rf_UnbootRaidframe()
|
|||
__LINE__, rc);
|
||||
RF_PANIC();
|
||||
}
|
||||
#if RF_DEBUG_ATOMIC > 0
|
||||
rf_atent_shutdown();
|
||||
#endif /* RF_DEBUG_ATOMIC > 0 */
|
||||
return (0);
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rf_threadstuff.c,v 1.4 1999/09/08 02:01:55 oster Exp $ */
|
||||
/* $NetBSD: rf_threadstuff.c,v 1.5 1999/12/07 02:13:28 oster Exp $ */
|
||||
/*
|
||||
* rf_threadstuff.c
|
||||
*/
|
||||
|
@ -138,13 +138,8 @@ _rf_destroy_threadgroup(g, file, line)
|
|||
{
|
||||
int rc1, rc2;
|
||||
|
||||
#if RF_DEBUG_ATOMIC > 0
|
||||
rc1 = _rf_mutex_destroy(&g->mutex, file, line);
|
||||
rc2 = _rf_cond_destroy(&g->cond, file, line);
|
||||
#else /* RF_DEBUG_ATOMIC > 0 */
|
||||
rc1 = rf_mutex_destroy(&g->mutex);
|
||||
rc2 = rf_cond_destroy(&g->cond);
|
||||
#endif /* RF_DEBUG_ATOMIC > 0 */
|
||||
if (rc1)
|
||||
return (rc1);
|
||||
return (rc2);
|
||||
|
@ -158,16 +153,6 @@ _rf_init_threadgroup(g, file, line)
|
|||
{
|
||||
int rc;
|
||||
|
||||
#if RF_DEBUG_ATOMIC > 0
|
||||
rc = _rf_mutex_init(&g->mutex, file, line);
|
||||
if (rc)
|
||||
return (rc);
|
||||
rc = _rf_cond_init(&g->cond, file, line);
|
||||
if (rc) {
|
||||
_rf_mutex_destroy(&g->mutex, file, line);
|
||||
return (rc);
|
||||
}
|
||||
#else /* RF_DEBUG_ATOMIC > 0 */
|
||||
rc = rf_mutex_init(&g->mutex);
|
||||
if (rc)
|
||||
return (rc);
|
||||
|
@ -176,7 +161,6 @@ _rf_init_threadgroup(g, file, line)
|
|||
rf_mutex_destroy(&g->mutex);
|
||||
return (rc);
|
||||
}
|
||||
#endif /* RF_DEBUG_ATOMIC > 0 */
|
||||
g->created = g->running = g->shutdown = 0;
|
||||
return (0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue