提交 2d56c718 编写于 作者: R Ruben Roy 提交者: Jarkko Sakkinen

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: NRuben Roy <rubenroy2005@gmail.com>
Reviewed-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
上级 1a7a9b26
...@@ -544,7 +544,7 @@ static inline void tpm_add_ppi(struct tpm_chip *chip) ...@@ -544,7 +544,7 @@ static inline void tpm_add_ppi(struct tpm_chip *chip)
} }
#endif #endif
static inline inline u32 tpm2_rc_value(u32 rc) static inline u32 tpm2_rc_value(u32 rc)
{ {
return (rc & BIT(7)) ? rc & 0xff : rc; return (rc & BIT(7)) ? rc & 0xff : rc;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册