diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 7317bec1dad61806789af4b7377ce633ec476528..cd780c7d21ff5e38f783838481d049e9ab2154a6 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -135,7 +135,6 @@ struct tpm_vendor_specific { int irq; - struct list_head list; int locality; unsigned long timeout_a, timeout_b, timeout_c, timeout_d; /* jiffies */ bool timeout_adjusted; diff --git a/drivers/char/tpm/tpm_i2c_infineon.c b/drivers/char/tpm/tpm_i2c_infineon.c index f2aa99e34b4b0b975435e81cc9b5d2b9537b7bae..e74f1c1718799b6da635cb9de602b121641a2312 100644 --- a/drivers/char/tpm/tpm_i2c_infineon.c +++ b/drivers/char/tpm/tpm_i2c_infineon.c @@ -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); - INIT_LIST_HEAD(&chip->vendor.list); tpm_dev.chip = chip; tpm_get_timeouts(chip);