Commit 003d305d authored by Christophe Ricard's avatar Christophe Ricard Committed by Jarkko Sakkinen

tpm: drop list from struct tpm_vendor_specific

Dropped list from struct tpm_vendor_specific as it is not used in any
place.

It is initialized in tpm_i2c_infineon but not used at all in the code.
Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
parent c5b65fa1
...@@ -135,7 +135,6 @@ struct tpm_vendor_specific { ...@@ -135,7 +135,6 @@ struct tpm_vendor_specific {
int irq; int irq;
struct list_head list;
int locality; int locality;
unsigned long timeout_a, timeout_b, timeout_c, timeout_d; /* jiffies */ unsigned long timeout_a, timeout_b, timeout_c, timeout_d; /* jiffies */
bool timeout_adjusted; bool timeout_adjusted;
......
...@@ -619,7 +619,6 @@ static int tpm_tis_i2c_init(struct device *dev) ...@@ -619,7 +619,6 @@ static int tpm_tis_i2c_init(struct device *dev)
dev_info(dev, "1.2 TPM (device-id 0x%X)\n", vendor >> 16); dev_info(dev, "1.2 TPM (device-id 0x%X)\n", vendor >> 16);
INIT_LIST_HEAD(&chip->vendor.list);
tpm_dev.chip = chip; tpm_dev.chip = chip;
tpm_get_timeouts(chip); tpm_get_timeouts(chip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment