From b2ecae3fec6bb3caf40233f65122a18a59758dff Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Tue, 17 Feb 2015 08:50:26 +0000 Subject: [PATCH] Some minor style(9) fixes (whitespace + comment) MFC after: 3 days --- sys/vm/memguard.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/vm/memguard.c b/sys/vm/memguard.c index ec372c14f38f..5d483b19a509 100644 --- a/sys/vm/memguard.c +++ b/sys/vm/memguard.c @@ -89,9 +89,7 @@ memguard_sysctl_desc(SYSCTL_HANDLER_ARGS) return (error); mtx_lock(&malloc_mtx); - /* - * If mtp is NULL, it will be initialized in memguard_cmp(). - */ + /* If mtp is NULL, it will be initialized in memguard_cmp() */ vm_memguard_mtype = malloc_desc2type(desc); strlcpy(vm_memguard_desc, desc, sizeof(vm_memguard_desc)); mtx_unlock(&malloc_mtx); @@ -502,7 +500,7 @@ int memguard_cmp_zone(uma_zone_t zone) { - if ((memguard_options & MG_GUARD_NOFREE) == 0 && + if ((memguard_options & MG_GUARD_NOFREE) == 0 && zone->uz_flags & UMA_ZONE_NOFREE) return (0);