On Wed, Jan 03, 2018 at 03:09:21AM +0000, Wei Yongjun wrote: > Fixes the following sparse warnings: > > drivers/char/tpm/tpm_tis.c: In function â??tpm_tis_pnp_removeâ??: > drivers/char/tpm/tpm_tis.c:274:23: warning: unused variable â??privâ?? [-Wunused-variable] > struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); > ^ > drivers/char/tpm/tpm_tis.c: In function â??tpm_tis_plat_removeâ??: > drivers/char/tpm/tpm_tis.c:324:23: warning: unused variable â??privâ?? [-Wunused-variable] > struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); > ^ > > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Thank you. Already merged Arnd's patch. /Jarkko