]> www.infradead.org Git - users/willy/linux.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, 7 Nov 2018 16:44:50 +0000 (11:44 -0500)
commit05cbbb6f9ed50c9a64a25c1903712681d4480edb
tree264400c8081ed8186dfde803f9e67bde96580fda
parent24ed6b99ccea8172924a6d5ba9539f9ea100cfe7
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