summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2016-02-17 21:09:19 +0000
committerglebius <glebius@FreeBSD.org>2016-02-17 21:09:19 +0000
commit69771cc9af7117bb790bdc06580e91e8a7492696 (patch)
tree4963c1201b0a41ecfbbf867e14848ca30a777fe2
parent9d6a6ca5611999f959b8e11ee855e3322db6f8cf (diff)
downloadFreeBSD-src-69771cc9af7117bb790bdc06580e91e8a7492696.zip
FreeBSD-src-69771cc9af7117bb790bdc06580e91e8a7492696.tar.gz
Add missing braces.
Found by: PVS-Studio Approved by: so (implicit)
-rw-r--r--sys/dev/random/nehemiah.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c
index 1de08fa..111bd94 100644
--- a/sys/dev/random/nehemiah.c
+++ b/sys/dev/random/nehemiah.c
@@ -131,9 +131,10 @@ nehemiah_modevent(module_t mod, int type, void *unused)
break;
case MOD_UNLOAD:
- if (via_feature_rng & VIA_HAS_RNG)
+ if (via_feature_rng & VIA_HAS_RNG) {
random_nehemiah_deinit();
random_source_deregister(&random_nehemiah);
+ }
break;
case MOD_SHUTDOWN:
OpenPOWER on IntegriCloud