diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-01-31 17:36:07 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-02-07 02:46:49 +0100 |
commit | db61ffe3a71c697aaa91c42c862a5f7557a0e562 (patch) | |
tree | 5cff81fc4d5d9f22b724390f5cf20fa93ee9eb09 /arch | |
parent | random: convert get_random_int/long into get_random_u32/u64 (diff) | |
download | linux-db61ffe3a71c697aaa91c42c862a5f7557a0e562.tar.xz linux-db61ffe3a71c697aaa91c42c862a5f7557a0e562.zip |
random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef block
Building arm allnodefconfig causes the following build warning:
drivers/char/random.c:318:12: warning: 'random_min_urandom_seed' defined but not used [-Wunused-variable]
Fix the warning by moving 'random_min_urandom_seed' declaration inside
the CONFIG_SYSCTL ifdef block, where it is actually used.
While at it, remove the comment prior to the variable declaration.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions