2016-03-23 06:23:59

by Jarkko Sakkinen

[permalink] [raw]
Subject: [PATCH] tpm: drop the field 'time_expired' from struct tpm_chip

Removed the field because it is not used for anything.

Signed-off-by: Jarkko Sakkinen <[email protected]>
---
drivers/char/tpm/tpm.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
index 09302ab..3c4e5eb 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -175,7 +175,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 */

--
2.7.3


2016-03-23 16:56:17

by Jason Gunthorpe

[permalink] [raw]
Subject: Re: [PATCH] tpm: drop the field 'time_expired' from struct tpm_chip

On Wed, Mar 23, 2016 at 08:23:39AM +0200, Jarkko Sakkinen wrote:
> Removed the field because it is not used for anything.

Reviewed-by: Jason Gunthorpe <[email protected]>

Jason