]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm: tpm-interface.c drop unused macros
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 19 Oct 2018 18:23:00 +0000 (21:23 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 13 Nov 2018 11:46:31 +0000 (13:46 +0200)
commitb6b6036a5d5591762ee1d9fd5ca9c89148d037f0
tree5996b4089d2c1796e8d328733d293f967031c26d
parentb03c43702e7be68dab9d443afbdc934ee4096b03
tpm: tpm-interface.c drop unused macros

The commit:
"tpm_tis: further simplify calculation of ordinal duration"
left unused macros, we can drop them now.

Fixes compilation warnings:
tpm-interface.c:37:0: warning: macro "TPM_PROTECTED_COMMAND" is not used [-Wunused-macros]
tpm-interface.c:36:0: warning: macro "TSC_MAX_ORDINAL" is not used [-Wunused-macros]
tpm-interface.c:38:0: warning: macro "TPM_CONNECTION_COMMAND" is not used [-Wunused-macros]

Fixes: f72864300139 ("tpm_tis: further simplify calculation of ordinal duration")
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm-interface.c