diff options
author | attilio <attilio@FreeBSD.org> | 2012-07-12 11:02:04 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2012-07-12 11:02:04 +0000 |
commit | 34064c9bef5e091fc48771a88fe6fd3b04906e92 (patch) | |
tree | 23d201f4c748d56c44bfc5033760834f9f606222 | |
parent | cc7c02f8bf91a669b803d07125980d38f96161f8 (diff) | |
download | FreeBSD-src-34064c9bef5e091fc48771a88fe6fd3b04906e92.zip FreeBSD-src-34064c9bef5e091fc48771a88fe6fd3b04906e92.tar.gz |
Remove unused iterating functions.
-rw-r--r-- | sys/vm/vm_radix.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sys/vm/vm_radix.h b/sys/vm/vm_radix.h index 8a44d4f..1c7c7c9 100644 --- a/sys/vm/vm_radix.h +++ b/sys/vm/vm_radix.h @@ -62,37 +62,5 @@ vm_radix_lookup_ge(struct vm_radix *rtree, vm_pindex_t index) return (NULL); } -static inline void * -vm_radix_last(struct vm_radix *rtree) -{ - - return vm_radix_lookup_le(rtree, 0); -} - -static inline void * -vm_radix_first(struct vm_radix *rtree) -{ - - return vm_radix_lookup_ge(rtree, 0); -} - -static inline void * -vm_radix_next(struct vm_radix *rtree, vm_pindex_t index) -{ - - if (index == -1) - return (NULL); - return vm_radix_lookup_ge(rtree, index + 1); -} - -static inline void * -vm_radix_prev(struct vm_radix *rtree, vm_pindex_t index) -{ - - if (index == 0) - return (NULL); - return vm_radix_lookup_le(rtree, index - 1); -} - #endif /* _KERNEL */ #endif /* !_VM_RADIX_H_ */ |