diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-27 18:31:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-27 18:31:13 +0000 |
commit | 2c83fdf7a5b01f033c7a583c25a774c665b25848 (patch) | |
tree | 6c1274fecc59bcb6dfeae362e8697d1c1ef94e32 /sys/conf/swapgeneric.c | |
parent | 1728d3241352f3c138c9ba4ca3293d8875e4bf63 (diff) |
Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()
which duplicates work done by uvm_swap_init().
Diffstat (limited to 'sys/conf/swapgeneric.c')
-rw-r--r-- | sys/conf/swapgeneric.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/swapgeneric.c b/sys/conf/swapgeneric.c index a5d423f6383..6c425578dd0 100644 --- a/sys/conf/swapgeneric.c +++ b/sys/conf/swapgeneric.c @@ -1,4 +1,4 @@ -/* $OpenBSD: swapgeneric.c,v 1.2 2003/06/02 23:28:01 millert Exp $ */ +/* $OpenBSD: swapgeneric.c,v 1.3 2005/12/27 18:31:11 miod Exp $ */ /* $NetBSD: swapgeneric.c,v 1.12 1996/05/03 19:42:28 christos Exp $ */ /*- @@ -48,6 +48,6 @@ dev_t rootdev = NODEV; dev_t dumpdev = NODEV; struct swdevt swdevt[] = { - { NODEV, 0, 0 }, /* to be filled in */ - { NODEV, 0, 0 } + { NODEV, 0, NULL }, /* to be filled in */ + { NODEV, 0, NULL } }; |