summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko@kernel.org>2024-05-27 13:56:27 +0300
committerJarkko Sakkinen <jarkko@kernel.org>2024-05-28 13:03:57 +0300
commitf3d7ba9e1bc0c9080834f263d4887bd9c9ea491f (patch)
tree65e9e2df9edbefeb83bc59c424bc4c1fca1037a8 /include/linux
parent195aba96b854dd664768f382cd1db375d8181f88 (diff)
tpm: Open code tpm_buf_parameters()
With only single call site, this makes no sense (slipped out of the radar during the review). Open code and document the action directly to the site, to make it more readable. Fixes: 1b6d7f9eb150 ("tpm: add session encryption protection to tpm2_get_random()") Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tpm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/tpm.h b/include/linux/tpm.h
index c17e4efbb2e5..b3217200df28 100644
--- a/include/linux/tpm.h
+++ b/include/linux/tpm.h
@@ -437,8 +437,6 @@ u8 tpm_buf_read_u8(struct tpm_buf *buf, off_t *offset);
u16 tpm_buf_read_u16(struct tpm_buf *buf, off_t *offset);
u32 tpm_buf_read_u32(struct tpm_buf *buf, off_t *offset);
-u8 *tpm_buf_parameters(struct tpm_buf *buf);
-
/*
* Check if TPM device is in the firmware upgrade mode.
*/