fd: Allow passing NULL to para_munmap().
authorAndre Noll <maan@systemlinux.org>
Tue, 26 Apr 2011 14:33:44 +0000 (16:33 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 26 Apr 2011 14:33:44 +0000 (16:33 +0200)
commit8acdfc3d6d124581d0b624e61e0047f576eb4748
treecbf14baf85e6a37da0cb3d07cfc2544cb26bb41c
parent32e646780461f96682d1191d31e08e4602ab125e
fd: Allow passing NULL to para_munmap().

This patch makes para_munmap succeed with return value 0 if the passed
"start" pointer is NULL. This allows to simplify the code in the
callers a bit, similar to free(NULL).
fd.c