diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-19 14:44:15 +0100 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-01-17 14:00:06 +0100 |
commit | 2dfc2deda2c9b1def7dc9399623479b69cd9f7ff (patch) | |
tree | b89d2c18beb54fdaec212e1f4d76d8e517f41c85 /kernel/cpu_pm.c | |
parent | 9fd8e5a25ecb0febfad321c04478a9d8b8b247f7 (diff) | |
download | blackbird-op-linux-2dfc2deda2c9b1def7dc9399623479b69cd9f7ff.tar.gz blackbird-op-linux-2dfc2deda2c9b1def7dc9399623479b69cd9f7ff.zip |
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>
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions