svn commit: r295718 - head/sys/dev/random
Gleb Smirnoff
glebius at FreeBSD.org
Wed Feb 17 21:09:20 UTC 2016
Author: glebius
Date: Wed Feb 17 21:09:19 2016
New Revision: 295718
URL: https://svnweb.freebsd.org/changeset/base/295718
Log:
Add missing braces.
Found by: PVS-Studio
Approved by: so (implicit)
Modified:
head/sys/dev/random/nehemiah.c
Modified: head/sys/dev/random/nehemiah.c
==============================================================================
--- head/sys/dev/random/nehemiah.c Wed Feb 17 19:43:03 2016 (r295717)
+++ head/sys/dev/random/nehemiah.c Wed Feb 17 21:09:19 2016 (r295718)
@@ -131,9 +131,10 @@ nehemiah_modevent(module_t mod, int type
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:
More information about the svn-src-head
mailing list