ima: Get rid of ima_used_chip and use ima_tpm_chip != NULL instead
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 26 Jun 2018 19:09:33 +0000 (15:09 -0400)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 28 Jul 2018 14:03:11 +0000 (17:03 +0300)
commitec403d8ed08c8272cfeeeea154fdebcd289988c8
treea2a302177adbd31edcba2f9cd254f963853711e2
parent5c2a640aff73914e11ac0db310b32d3b7a1b87ad
ima: Get rid of ima_used_chip and use ima_tpm_chip != NULL instead

Get rid of ima_used_chip and use ima_tpm_chip variable instead for
determining whether to use the TPM chip.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
security/integrity/ima/ima.h
security/integrity/ima/ima_crypto.c
security/integrity/ima/ima_init.c
security/integrity/ima/ima_queue.c