diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2018-10-19 21:22:54 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-11-13 14:46:30 +0300 |
commit | f4d916b72feafd70967994f4f5a5d7f371a77ba0 (patch) | |
tree | 0ecba25e21666e504d06c627d5a3b82cc4b2f005 /drivers/char/tpm/tpm_atmel.h | |
parent | 1ad6640cd61422536968dfe7fe9a32b1840fc2d9 (diff) | |
download | linux-f4d916b72feafd70967994f4f5a5d7f371a77ba0.tar.xz |
tpm: move tpm_getcap to tpm1-cmd.c
1. Move tpm_getcap to tpm1-cmd. Rename the function to tpm1_getcap.
2. Remove unused tpm_getcap_header with unused constant
as this functionality is already implemented using tpm_buf construct.
Fixes warning:
drivers/char/tpm/tpm-interface.c:452:38: warning: ‘tpm_getcap_header’ defined but not used [-Wunused-const-variable=]
static const struct tpm_input_header tpm_getcap_header = {
^~~~~~~~~~~~~~~~~
3. Drop unused TPM_DIGEST_SIZE. It's already defined in
include/linux/tpm.h
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/tpm_atmel.h')
0 files changed, 0 insertions, 0 deletions