diff options
| author | oster <oster@NetBSD.org> | 2003-07-01 23:53:48 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2003-07-01 23:53:48 +0000 |
| commit | 1121191d310b4d00e8ed503a04e9ee3cf79a7492 (patch) | |
| tree | d49622f1f1080cdf56e372514eeed5267708a925 /sys/dev/raidframe | |
| parent | 556d051c14d51979b7ef0a21df8f8679259f2c69 (diff) | |
Actually toss the comment I said I was tossing in the last commit.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_alloclist.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/dev/raidframe/rf_alloclist.c b/sys/dev/raidframe/rf_alloclist.c index 6b12b731bd1..f3473a3fd26 100644 --- a/sys/dev/raidframe/rf_alloclist.c +++ b/sys/dev/raidframe/rf_alloclist.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_alloclist.c,v 1.13 2003/07/01 23:50:54 oster Exp $ */ +/* $NetBSD: rf_alloclist.c,v 1.14 2003/07/01 23:53:48 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -37,7 +37,7 @@ ***************************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_alloclist.c,v 1.13 2003/07/01 23:50:54 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_alloclist.c,v 1.14 2003/07/01 23:53:48 oster Exp $"); #include <dev/raidframe/raidframevar.h> @@ -121,15 +121,6 @@ rf_real_AddToAllocList(l, p, size) } - -/* we use the debug_mem_mutex here because we need to lock it anyway - * to call free. this is probably a bug somewhere else in the code, - * but when I call malloc/free outside of any lock I have endless - * trouble with malloc appearing to return the same pointer twice. - * Since we have to lock it anyway, we might as well use it as the - * lock around the al_free_list. Note that we can't call Free with - * the debug_mem_mutex locked. - */ void rf_FreeAllocList(l) RF_AllocListElem_t *l; |
