Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tpm: fix duplicate inline declaration specifier

This commit fixes the duplicate inline declaration specifier in
tpm2_rc_value which caused a warning

Signed-off-by: Ruben Roy <rubenroy2005@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>

authored by

Ruben Roy and committed by
Jarkko Sakkinen
2d56c718 1a7a9b26

+1 -1
+1 -1
drivers/char/tpm/tpm.h
··· 544 544 } 545 545 #endif 546 546 547 - static inline inline u32 tpm2_rc_value(u32 rc) 547 + static inline u32 tpm2_rc_value(u32 rc) 548 548 { 549 549 return (rc & BIT(7)) ? rc & 0xff : rc; 550 550 }