Skip to content

Commit a6b0860

Browse files
cricard13Jarkko Sakkinen
authored andcommitted
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: Christophe Ricard <christophe-h.ricard@st.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
1 parent b48562c commit a6b0860

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/char/tpm/tpm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ struct tpm_vendor_specific {
135135

136136
int irq;
137137

138-
struct list_head list;
139138
int locality;
140139
unsigned long timeout_a, timeout_b, timeout_c, timeout_d; /* jiffies */
141140
bool timeout_adjusted;

drivers/char/tpm/tpm_i2c_infineon.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ static int tpm_tis_i2c_init(struct device *dev)
619619

620620
dev_info(dev, "1.2 TPM (device-id 0x%X)\n", vendor >> 16);
621621

622-
INIT_LIST_HEAD(&chip->vendor.list);
623622
tpm_dev.chip = chip;
624623

625624
tpm_get_timeouts(chip);

0 commit comments

Comments
 (0)