From: Markus Elfring Date: Mon, 1 Dec 2014 04:45:42 +0000 (+0100) Subject: thermal: int3403: Delete a check before thermal_zone_device_unregister() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~50^2^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=931b9c86d9a518b1374157f103168fb787e6560e;p=pandora-kernel.git thermal: int3403: Delete a check before thermal_zone_device_unregister() The thermal_zone_device_unregister() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Zhang Rui --- Reading git-diff-tree failed