]> git.ipfire.org Git - thirdparty/rng-tools.git/commit
rngd_rdrand: Code style cleanups
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 24 Feb 2014 21:35:48 +0000 (13:35 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 25 Feb 2014 00:52:06 +0000 (16:52 -0800)
commit62dec321e2f6cc5de249d1396aec579729d0cf13
treeec837d4a70c68a634a656ab1eac32b23041b8b6d
parent908d733527a361621da88cdf931a71aa83cba430
rngd_rdrand: Code style cleanups

Break up the code into smaller functions for readability, make the
code conform a little closer to Linux standard, and try to reduce the
number of #ifdefs.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
rngd_rdrand.c