diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-01-31 14:36:07 -0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-02-06 20:46:49 -0500 |
commit | db61ffe3a71c697aaa91c42c862a5f7557a0e562 (patch) | |
tree | 5cff81fc4d5d9f22b724390f5cf20fa93ee9eb09 /init/main.c | |
parent | c440408cf6901eeb2c09563397e24a9097907078 (diff) | |
download | lwn-db61ffe3a71c697aaa91c42c862a5f7557a0e562.tar.gz lwn-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 'init/main.c')
0 files changed, 0 insertions, 0 deletions