diff options
author | Jarkko Sakkinen | 2024-04-29 16:27:50 -0400 |
---|---|---|
committer | Jarkko Sakkinen | 2024-05-09 22:30:50 +0300 |
commit | cf792e903affdf585f20fea41ea4f9b4eac124ab (patch) | |
tree | 9de31b91c3ba8e0e6a6b57ed5147eda9853e0e47 /include | |
parent | 8516b23aa212a3ed6f6052418e66f22a83c7ee74 (diff) |
tpm: Remove unused tpm_buf_tag()
The helper function has no call sites. Thus, remove it.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tpm.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/tpm.h b/include/linux/tpm.h index 4ee9d13749ad..6588ca87cf93 100644 --- a/include/linux/tpm.h +++ b/include/linux/tpm.h @@ -358,13 +358,6 @@ static inline u32 tpm_buf_length(struct tpm_buf *buf) return be32_to_cpu(head->length); } -static inline u16 tpm_buf_tag(struct tpm_buf *buf) -{ - struct tpm_header *head = (struct tpm_header *)buf->data; - - return be16_to_cpu(head->tag); -} - static inline void tpm_buf_append(struct tpm_buf *buf, const unsigned char *new_data, unsigned int new_len) |