diff options
author | pjd <pjd@FreeBSD.org> | 2012-05-29 18:09:14 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2012-05-29 18:09:14 +0000 |
commit | cf32db042c043fcc30e605a7ba74ecd27ee9871e (patch) | |
tree | ab6437472ec3a9b12b1f85f083592e5f58476a42 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c | |
parent | 43997274ba750e9406c56e5fde705bbe295e503e (diff) | |
download | FreeBSD-src-cf32db042c043fcc30e605a7ba74ecd27ee9871e.zip FreeBSD-src-cf32db042c043fcc30e605a7ba74ecd27ee9871e.tar.gz |
Eliminate 'where' argument, we don't use it.
MFC after: 3 days
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c index a8df1c7..5c35816 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c @@ -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_t start, uint64_t size) 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) { |