]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/char/random.c: make primary_crng static
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 2 Nov 2018 11:04:47 +0000 (12:04 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 17 Apr 2019 14:30:21 +0000 (10:30 -0400)
commit8dfdee3dbbbd96e1c4afc67cb084f9950a558690
tree7df0c430e7f013409a7f4e83e1caf41413fdb232
parente51b79ecd946cdc7dff61608a0159d14356ba6dc
drivers/char/random.c: make primary_crng static

Since the definition of struct crng_state is private to random.c, and
primary_crng is neither declared or used elsewhere, there's no reason
for that symbol to have external linkage.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/random.c