From a06e4d63b8725ad47fc72c1b70f2dadbdd701cc8 Mon Sep 17 00:00:00 2001 From: pooka Date: Sun, 13 Sep 2009 19:07:18 +0000 Subject: [PATCH] remove pool link set attach code --- sys/rump/librump/rumpkern/pool.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/sys/rump/librump/rumpkern/pool.c b/sys/rump/librump/rumpkern/pool.c index d316178a49c3..5c9822cd2649 100644 --- a/sys/rump/librump/rumpkern/pool.c +++ b/sys/rump/librump/rumpkern/pool.c @@ -1,4 +1,4 @@ -/* $NetBSD: pool.c,v 1.14 2009/06/03 16:07:21 pooka Exp $ */ +/* $NetBSD: pool.c,v 1.15 2009/09/13 19:07:18 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pool.c,v 1.14 2009/06/03 16:07:21 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pool.c,v 1.15 2009/09/13 19:07:18 pooka Exp $"); #ifndef RUMP_USE_REAL_ALLOCATORS @@ -45,15 +45,8 @@ struct pool_allocator pool_allocator_nointr; void pool_subsystem_init() { - __link_set_decl(pools, struct link_pool_init); - struct link_pool_init *const *pi; -#define _pi(name) (*pi)->name - __link_set_foreach(pi, pools) { - pool_init(_pi(pp), _pi(size), _pi(align), _pi(align_offset), - _pi(flags), _pi(wchan), _pi(palloc), _pi(ipl)); - } -#undef _pi + /* nada */ } void