[PATCH 24/25] soc: tegra: fuse: speedo-tegra210: Remove a group of set but unused variables

Thierry Reding thierry.reding at gmail.com
Tue Nov 10 14:41:34 EST 2020


On Tue, Nov 03, 2020 at 03:28:37PM +0000, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
> 
>  drivers/soc/tegra/fuse/speedo-tegra210.c: In function ‘tegra210_init_speedo_data’:
>  drivers/soc/tegra/fuse/speedo-tegra210.c:105:56: warning: variable ‘soc_iddq’ set but not used [-Wunused-but-set-variable]
>  drivers/soc/tegra/fuse/speedo-tegra210.c:105:46: warning: variable ‘gpu_iddq’ set but not used [-Wunused-but-set-variable]
>  drivers/soc/tegra/fuse/speedo-tegra210.c:105:36: warning: variable ‘cpu_iddq’ set but not used [-Wunused-but-set-variable]
> 
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Jonathan Hunter <jonathanh at nvidia.com>
> Cc: linux-tegra at vger.kernel.org
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> ---
>  drivers/soc/tegra/fuse/speedo-tegra210.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Sam as for the previous patch, I applied this and removed the register
reads altogether, since there aren't any side-effects.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201110/01dd4e28/attachment-0001.sig>


More information about the linux-arm-kernel mailing list