tpm: Open code tpm_buf_parameters()
authorJarkko Sakkinen <jarkko@kernel.org>
Mon, 27 May 2024 10:56:27 +0000 (13:56 +0300)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 28 May 2024 10:03:57 +0000 (13:03 +0300)
commitf3d7ba9e1bc0c9080834f263d4887bd9c9ea491f
tree65e9e2df9edbefeb83bc59c424bc4c1fca1037a8
parent195aba96b854dd664768f382cd1db375d8181f88
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>
drivers/char/tpm/tpm-buf.c
drivers/char/tpm/tpm2-cmd.c
include/linux/tpm.h