thermal: tegra: remove null check for dev pointer
authorNicolin Chen <nicoleotsuka@gmail.com>
Tue, 5 Sep 2017 07:41:16 +0000 (00:41 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 1 Nov 2017 02:32:13 +0000 (19:32 -0700)
commit1fba81cc09bd3cd71ca43cd66ca7223217eaa054
tree0bc2af66a83f6ffa11d089596ec153f886cfdebe
parentfec3624f0bcdb6b20ef9ccf9d9d55d0d75d776f8
thermal: tegra: remove null check for dev pointer

The dev pointer is going through a null check after a dereference.
So this patch removes that useless check since the driver does not
pass a null dev pointer in any case.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/tegra/soctherm.c