char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_re...
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 19 Nov 2014 13:44:15 +0000 (14:44 +0100)
committerPeter Huewe <peterhuewe@gmx.de>
Sat, 17 Jan 2015 13:00:06 +0000 (14:00 +0100)
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>

No differences found