commit | f350098070e36e1f51f925264146eff18a4e42dd | [log] [tgz] |
---|---|---|
author | Wei Ni <wni@nvidia.com> | Wed Apr 06 17:48:04 2016 +0800 |
committer | Eduardo Valentin <edubezval@gmail.com> | Tue May 17 07:28:31 2016 -0700 |
tree | 4043677e3084d53a5d185365166103513874f407 | |
parent | a977c41ec65bbdc5000a130372adba1f85c86833 [diff] |
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>