lkml.org 
[lkml]   [2018]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 14/21] tpm: tpm-interface.c drop unused macros
    Date
    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>
    ---
    V3: New in the series.
    V4: Fix the commit message.

    drivers/char/tpm/tpm-interface.c | 4 ----
    1 file changed, 4 deletions(-)

    diff --git a/drivers/char/tpm/tpm-interface.c b/drivers/char/tpm/tpm-interface.c
    index 6cd3aed1e190..d7059fc72c51 100644
    --- a/drivers/char/tpm/tpm-interface.c
    +++ b/drivers/char/tpm/tpm-interface.c
    @@ -33,10 +33,6 @@

    #include "tpm.h"

    -#define TSC_MAX_ORDINAL 12
    -#define TPM_PROTECTED_COMMAND 0x00
    -#define TPM_CONNECTION_COMMAND 0x40
    -
    /*
    * Bug workaround - some TPM's don't flush the most
    * recently changed pcr on suspend, so force the flush
    --
    2.14.4
    \
     
     \ /
      Last update: 2018-09-21 16:04    [W:4.887 / U:0.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site