All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit a4f6e098 authored by Mike Hibler's avatar Mike Hibler

Lint.

parent ebf1f61d
......@@ -180,7 +180,6 @@ ndz_rangemap_dealloc(struct ndz_rangemap *map, ndz_addr_t addr, ndz_size_t size)
{
struct ndz_range *prev, *range, *next;
ndz_addr_t eaddr = addr + size - 1;
int ishead = 0;
if (map == NULL || eaddr < addr ||
addr < map->loaddr || eaddr > map->hiaddr)
......@@ -202,10 +201,8 @@ ndz_rangemap_dealloc(struct ndz_rangemap *map, ndz_addr_t addr, ndz_size_t size)
return EBUSY;
/* if prev is null we are at the beginning, take note */
if (prev == NULL) {
if (prev == NULL)
prev = &map->head;
ishead = 1;
}
/*
* If the dealloced range abuts the containing range at either the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment