diff options
author | glebius <glebius@FreeBSD.org> | 2016-02-17 21:09:19 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2016-02-17 21:09:19 +0000 |
commit | 69771cc9af7117bb790bdc06580e91e8a7492696 (patch) | |
tree | 4963c1201b0a41ecfbbf867e14848ca30a777fe2 /sys/dev/random | |
parent | 9d6a6ca5611999f959b8e11ee855e3322db6f8cf (diff) | |
download | FreeBSD-src-69771cc9af7117bb790bdc06580e91e8a7492696.zip FreeBSD-src-69771cc9af7117bb790bdc06580e91e8a7492696.tar.gz |
Add missing braces.
Found by: PVS-Studio
Approved by: so (implicit)
Diffstat (limited to 'sys/dev/random')
-rw-r--r-- | sys/dev/random/nehemiah.c | 3 |
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: |