1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Eliminate 'where' argument, we don't use it.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2012-05-29 18:09:14 +00:00
parent 8ac2669cc8
commit 837a617728
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236249

View File

@ -173,7 +173,6 @@ space_map_add(space_map_t *sm, uint64_t start, uint64_t size)
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) {