alistair23-linux/drivers/thermal/tegra
Wei Ni f350098070 thermal: tegra: fix static checker warning
There has a static checker warning:
warn: variable dereferenced before check 'dev' (see line 222)

Since check 'dev' is unnecessary, so remove this check.

Fixes: ee6d79f202a4 ("thermal: tegra: add thermtrip function")
Signed-off-by: Wei Ni <wni@nvidia.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2016-05-17 07:28:31 -07:00
..
Kconfig thermal: tegra: split tegra_soctherm driver 2016-05-17 07:28:28 -07:00
Makefile thermal: tegra: add Tegra210 specific SOC_THERM driver 2016-05-17 07:28:28 -07:00
soctherm-fuse.c thermal: tegra: add Tegra210 specific SOC_THERM driver 2016-05-17 07:28:28 -07:00
soctherm.c thermal: tegra: fix static checker warning 2016-05-17 07:28:31 -07:00
soctherm.h thermal: tegra: add thermtrip function 2016-05-17 07:28:29 -07:00
tegra124-soctherm.c thermal: tegra: add thermtrip function 2016-05-17 07:28:29 -07:00
tegra210-soctherm.c thermal: tegra: add thermtrip function 2016-05-17 07:28:29 -07:00