commit | 2dfc2deda2c9b1def7dc9399623479b69cd9f7ff | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Wed Nov 19 14:44:15 2014 +0100 |
committer | Peter Huewe <peterhuewe@gmx.de> | Sat Jan 17 14:00:06 2015 +0100 |
tree | b89d2c18beb54fdaec212e1f4d76d8e517f41c85 | |
parent | 9fd8e5a25ecb0febfad321c04478a9d8b8b247f7 [diff] |
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 <elfring@users.sourceforge.net> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>