]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tpm: ftpm_tee: remove incorrect of_match_ptr annotation
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Feb 2025 16:37:15 +0000 (17:37 +0100)
committerJarkko Sakkinen <jarkko@kernel.org>
Thu, 27 Mar 2025 13:34:04 +0000 (15:34 +0200)
commitfb3bf46de6d9b00088965db6b3c56a6c18153c9f
tree0f8d0324daad762c073ec5fa380bbf460163b85d
parent17d253af4c2c8a2acf84bb55a0c2045f150b7dfd
tpm: ftpm_tee: remove incorrect of_match_ptr annotation

Building with W=1 shows a warning about of_ftpm_tee_ids being unused when
CONFIG_OF is disabled:

    drivers/char/tpm/tpm_ftpm_tee.c:356:34: error: unused variable 'of_ftpm_tee_ids' [-Werror,-Wunused-const-variable]

Drop the unnecessary of_match_ptr().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sumit Garg <sumit.garg@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_ftpm_tee.c