Skip to content
Commit db61ffe3 authored by Fabio Estevam's avatar Fabio Estevam Committed by Theodore Ts'o
Browse files

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent c440408c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment