tpm: drop the field 'time_expired' from struct tpm_chip
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 23 Mar 2016 06:23:39 +0000 (08:23 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (17:26 +0300)
Removed the field because it is not used for anything.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
drivers/char/tpm/tpm.h

index b9a5b25..7317bec 100644 (file)
@@ -174,7 +174,6 @@ struct tpm_chip {
 
        int dev_num;            /* /dev/tpm# */
        unsigned long is_open;  /* only one allowed */
-       int time_expired;
 
        struct mutex tpm_mutex; /* tpm is processing */