summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-07-08 14:05:29 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-07-08 14:05:29 +0000
commit5d7f257e3f47b74e90d51b850f144998a674c84c (patch)
tree6fe7bb33f71115252b988e2148f3e37c35b6e8f9 /sys
parentcfb255ece4b49770a563fbd9b538c545bcb6079c (diff)
Remove unused extent_insert_and_optimize() parameter 'flags'. Spotted
by lint. ok art@ miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_extent.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index 875d8735384..4e9281b6dea 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.28 2005/04/21 17:46:52 miod Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.29 2005/07/08 14:05:28 krw Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -76,7 +76,7 @@
#endif
static void extent_insert_and_optimize(struct extent *, u_long, u_long,
- int, struct extent_region *, struct extent_region *);
+ struct extent_region *, struct extent_region *);
static struct extent_region *extent_alloc_region_descriptor(struct extent *, int);
static void extent_free_region_descriptor(struct extent *,
struct extent_region *);
@@ -296,10 +296,9 @@ extent_destroy(ex)
* If we don't need the region descriptor, it will be freed here.
*/
static void
-extent_insert_and_optimize(ex, start, size, flags, after, rp)
+extent_insert_and_optimize(ex, start, size, after, rp)
struct extent *ex;
u_long start, size;
- int flags;
struct extent_region *after, *rp;
{
struct extent_region *nextr;
@@ -519,7 +518,7 @@ extent_alloc_region(ex, start, size, flags)
* to the region we fall after, or is NULL if we belong
* at the beginning of the region list. Insert ourselves.
*/
- extent_insert_and_optimize(ex, start, size, flags, last, myrp);
+ extent_insert_and_optimize(ex, start, size, last, myrp);
return (0);
}
@@ -886,7 +885,7 @@ skip:
/*
* Insert ourselves into the region list.
*/
- extent_insert_and_optimize(ex, newstart, size, flags, last, myrp);
+ extent_insert_and_optimize(ex, newstart, size, last, myrp);
*result = newstart;
return (0);
}