diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2019-12-17 01:37:02 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2019-12-17 01:37:02 +0000 |
commit | af1e30f8bebcb633176fb3f251010a9e4ba57235 (patch) | |
tree | e6fa812c2218258309e11e6b5ba1a6d81072a7f3 /lib/libvmmapi/vmmapi.c | |
parent | a71dc724e4e5be75f8d56f225a6f3c2062fa2307 (diff) | |
download | src-af1e30f8bebcb633176fb3f251010a9e4ba57235.tar.gz src-af1e30f8bebcb633176fb3f251010a9e4ba57235.zip |
Forgotten to remove the previous if statement in commit r355838.
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D19400
Notes
Notes:
svn path=/head/; revision=355839
Diffstat (limited to 'lib/libvmmapi/vmmapi.c')
-rw-r--r-- | lib/libvmmapi/vmmapi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c index 6f5062545e41..00b35f1022e9 100644 --- a/lib/libvmmapi/vmmapi.c +++ b/lib/libvmmapi/vmmapi.c @@ -106,10 +106,8 @@ int vm_create(const char *name) { /* Try to load vmm(4) module before creating a guest. */ - if (modfind("vmm") < 0) { - if (modfind("vmm") < 0) - kldload("vmm"); - } + if (modfind("vmm") < 0) + kldload("vmm"); return (CREATE((char *)name)); } |