security/integrity: remove unnecessary 'init_keyring' variable
authorEric Biggers <ebiggers@google.com>
Thu, 4 Oct 2018 00:15:44 +0000 (17:15 -0700)
committerMimi Zohar <zohar@linux.ibm.com>
Wed, 10 Oct 2018 16:56:15 +0000 (12:56 -0400)
commit2ab5daf867d1f7898327962d59d3039206294d3a
tree9e871519cecc565395135d459bf2b7fd0400eb33
parentb2724d5802a77b7fb47e84d9b88b80370eccbc64
security/integrity: remove unnecessary 'init_keyring' variable

The 'init_keyring' variable actually just gave the value of
CONFIG_INTEGRITY_TRUSTED_KEYRING.  We should check the config option
directly instead.  No change in behavior; this just simplifies the code.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/digsig.c