svn commit: r238394 - user/attilio/vmc-playground/sys/vm

Attilio Rao attilio at FreeBSD.org
Thu Jul 12 11:02:05 UTC 2012


Author: attilio
Date: Thu Jul 12 11:02:04 2012
New Revision: 238394
URL: http://svn.freebsd.org/changeset/base/238394

Log:
  Remove unused iterating functions.

Modified:
  user/attilio/vmc-playground/sys/vm/vm_radix.h

Modified: user/attilio/vmc-playground/sys/vm/vm_radix.h
==============================================================================
--- user/attilio/vmc-playground/sys/vm/vm_radix.h	Thu Jul 12 10:09:34 2012	(r238393)
+++ user/attilio/vmc-playground/sys/vm/vm_radix.h	Thu Jul 12 11:02:04 2012	(r238394)
@@ -62,37 +62,5 @@ vm_radix_lookup_ge(struct vm_radix *rtre
         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_ */


More information about the svn-src-user mailing list