Commit a99ee60b authored by Mark Johnston's avatar Mark Johnston
Browse files

Ensure that "m" is initialized in vm_page_alloc_freelist_domain().

While here, remove a superfluous comment.

Coverity CID:	1383559
MFC after:	3 days
parent 1442afc1
......@@ -2191,9 +2191,7 @@ vm_page_alloc_freelist_domain(int domain, int freelist, int req)
vm_page_t m;
u_int flags;
/*
* Do not allocate reserved pages unless the req has asked for it.
*/
m = NULL;
vmd = VM_DOMAIN(domain);
again:
if (vm_domain_allocate(vmd, req, 1)) {
......
Supports Markdown
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