Re: [PATCH -next] tpm_tis: Remove unused variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux