summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_powerpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkvm/kvm_powerpc.c')
-rw-r--r--lib/libkvm/kvm_powerpc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libkvm/kvm_powerpc.c b/lib/libkvm/kvm_powerpc.c
index f469bec6775..7bfc421651c 100644
--- a/lib/libkvm/kvm_powerpc.c
+++ b/lib/libkvm/kvm_powerpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_powerpc.c,v 1.9 2014/11/18 20:51:00 krw Exp $ */
+/* $OpenBSD: kvm_powerpc.c,v 1.10 2015/12/19 18:40:30 mmcc Exp $ */
/*-
* Copyright (C) 1996 Wolfgang Solfrank.
@@ -56,10 +56,8 @@
void
_kvm_freevtop(kvm_t *kd)
{
- if (kd->vmst != NULL) {
- free(kd->vmst);
- kd->vmst = NULL;
- }
+ free(kd->vmst);
+ kd->vmst = NULL;
}
/*ARGSUSED*/