From: Markus Elfring Date: Wed, 19 Nov 2014 13:44:15 +0000 (+0100) Subject: char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_re... X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~113^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dfc2deda2c9b1def7dc9399623479b69cd9f7ff;p=pandora-kernel.git char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_release" The tpm_dev_vendor_release() 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: Peter Huewe --- Reading git-diff-tree failed