git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fd8e5a
)
char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_re...
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 19 Nov 2014 13:44:15 +0000
(14:44 +0100)
committer
Peter 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