diff mbox

[tpmdd-devel] tpm: drop the field 'time_expired' from struct tpm_chip

Message ID 1458714219-26721-1-git-send-email-jarkko.sakkinen@linux.intel.com
State New
Headers show

Commit Message

Jarkko Sakkinen March 23, 2016, 6:23 a.m. UTC
Removed the field because it is not used for anything.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
---
 drivers/char/tpm/tpm.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Jason Gunthorpe March 23, 2016, 4:56 p.m. UTC | #1
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 <jgunthorpe@obsidianresearch.com>

Jason

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
diff mbox

Patch

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 */