diff options
| author | 2016-04-06 17:48:04 +0800 | |
|---|---|---|
| committer | 2016-05-17 07:28:31 -0700 | |
| commit | f350098070e36e1f51f925264146eff18a4e42dd (patch) | |
| tree | 4043677e3084d53a5d185365166103513874f407 /scripts/patch-kernel | |
| parent | thermal: tegra: mark PM functions __maybe_unused (diff) | |
| download | linux-dev-f350098070e36e1f51f925264146eff18a4e42dd.tar.xz linux-dev-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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
