diff options
author | Wei Ni <wni@nvidia.com> | 2016-04-06 17:48:04 +0800 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2016-05-17 07:28:31 -0700 |
commit | f350098070e36e1f51f925264146eff18a4e42dd (patch) | |
tree | 4043677e3084d53a5d185365166103513874f407 /mm | |
parent | a977c41ec65bbdc5000a130372adba1f85c86833 (diff) | |
download | lwn-f350098070e36e1f51f925264146eff18a4e42dd.tar.gz lwn-f350098070e36e1f51f925264146eff18a4e42dd.zip |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions