aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-02 11:38:54 +0100
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-01-08 12:58:54 +0200
commit68021bf4734d15c9a9ed1c1072b9ebcfda3e39cc (patch)
tree3fa626d8a7fddc9eba60dcd8c77fbf8a8ab656cd /security
parenttpm: remove unused data fields from I2C and OF device ID tables (diff)
downloadlinux-dev-68021bf4734d15c9a9ed1c1072b9ebcfda3e39cc.tar.xz
linux-dev-68021bf4734d15c9a9ed1c1072b9ebcfda3e39cc.zip
tpm: remove unused variables
The CLKRUN fix caused a few harmless compile-time warnings: drivers/char/tpm/tpm_tis.c: In function 'tpm_tis_pnp_remove': drivers/char/tpm/tpm_tis.c:274:23: error: unused variable 'priv' [-Werror=unused-variable] drivers/char/tpm/tpm_tis.c: In function 'tpm_tis_plat_remove': drivers/char/tpm/tpm_tis.c:324:23: error: unused variable 'priv' [-Werror=unused-variable] This removes the variables that have now become unused. Fixes: 6d0866cbc2d3 ("tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: James Morris <jmorris@namei.org> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions