Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2012 18:09:15 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236249 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201205291809.q4TI9FqU094351@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Tue May 29 18:09:14 2012
New Revision: 236249
URL: http://svn.freebsd.org/changeset/base/236249

Log:
  Eliminate 'where' argument, we don't use it.
  
  MFC after:	3 days

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c	Tue May 29 18:05:24 2012	(r236248)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c	Tue May 29 18:09:14 2012	(r236249)
@@ -173,7 +173,6 @@ again:
 void
 space_map_remove(space_map_t *sm, uint64_t start, uint64_t size)
 {
-	avl_index_t where;
 	space_seg_t ssearch, *ss, *newseg;
 	uint64_t end = start + size;
 	int left_over, right_over;
@@ -185,7 +184,7 @@ space_map_remove(space_map_t *sm, uint64
 
 	ssearch.ss_start = start;
 	ssearch.ss_end = end;
-	ss = avl_find(&sm->sm_root, &ssearch, &where);
+	ss = avl_find(&sm->sm_root, &ssearch, NULL);
 
 	/* Make sure we completely overlap with someone */
 	if (ss == NULL) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205291809.q4TI9FqU094351>