random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef block
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 31 Jan 2017 16:36:07 +0000 (14:36 -0200)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Feb 2017 01:46:49 +0000 (20:46 -0500)
commitdb61ffe3a71c697aaa91c42c862a5f7557a0e562
tree5cff81fc4d5d9f22b724390f5cf20fa93ee9eb09
parentc440408cf6901eeb2c09563397e24a9097907078
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>
drivers/char/random.c