summaryrefslogtreecommitdiff
path: root/common/tpm_registers.c
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2016-07-20 16:42:45 +0200
committerchrome-bot <chrome-bot@chromium.org>2016-07-23 15:00:10 -0700
commitd1fae75ba434eea0745100d525590ba7c35d05ad (patch)
tree029b0cd5503de5bd86e99936f32ce2458f79c064 /common/tpm_registers.c
parent698777d4e3c1ec4d60dd9b731e3e2f8bd1ed5373 (diff)
downloadchrome-ec-d1fae75ba434eea0745100d525590ba7c35d05ad.tar.gz
tpm: remove int_status variable
It doesn't seem to be used anywhere, so let's remove it rather than having to re-initialize it. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:52366 TEST=make BOARD=cr50 Change-Id: I08175621fe26a4344ce1716a83ad4233531043a1 Reviewed-on: https://chromium-review.googlesource.com/361940 Commit-Ready: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/tpm_registers.c')
-rw-r--r--common/tpm_registers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c
index 29bcf791fa..b2cbe22a8a 100644
--- a/common/tpm_registers.c
+++ b/common/tpm_registers.c
@@ -67,7 +67,6 @@ enum tpm_states {
/* Volatile registers for FIFO mode */
struct tpm_register_file {
uint8_t access;
- uint32_t int_status;
uint32_t sts;
uint8_t data_fifo[2048]; /* this might have to be even deeper. */
};