alistair23-linux/drivers/char/tpm
Markus Elfring 2dfc2deda2 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>
2015-01-17 14:00:06 +01:00
..
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
Makefile tpm: Move sysfs functions from tpm-interface to tpm-sysfs 2014-01-06 14:37:24 +01:00
tpm-dev.c tpm: Make tpm-dev allocate a per-file structure 2014-01-06 14:37:25 +01:00
tpm-interface.c TPM: Add new TPMs to the tail of the list to prevent inadvertent change of dev 2015-01-17 14:00:05 +01:00
tpm-sysfs.c tpm/tpm-sysfs: active_show() can be static 2014-01-06 14:37:25 +01:00
tpm.h tpm: Make tpm-dev allocate a per-file structure 2014-01-06 14:37:25 +01:00
tpm_acpi.c ACPI: Clean up acpi_os_map/unmap_memory() to eliminate __iomem. 2014-05-27 18:13:08 +02:00
tpm_atmel.c char: tpm: drop owner assignment from platform_drivers 2014-10-20 16:20:21 +02:00
tpm_atmel.h
tpm_eventlog.c tpm: simplify code by using %*phN specifier 2014-07-29 23:10:56 +02:00
tpm_eventlog.h
tpm_i2c_atmel.c char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_release" 2015-01-17 14:00:06 +01:00
tpm_i2c_infineon.c drivers/char: delete non-required instances of include <linux/init.h> 2014-02-07 15:10:19 -08:00
tpm_i2c_nuvoton.c char: tpm: Deletion of unnecessary checks before the function call "tpm_dev_vendor_release" 2015-01-17 14:00:06 +01:00
tpm_i2c_stm_st33.c tpm: remove unnecessary sizeof(u8) 2015-01-17 14:00:06 +01:00
tpm_i2c_stm_st33.h
tpm_ibmvtpm.c tpm: Fix NULL return in tpm_ibmvtpm_get_desired_dma 2015-01-17 14:00:06 +01:00
tpm_ibmvtpm.h
tpm_infineon.c tpm: Create a tpm_class_ops structure and use it in the drivers 2014-01-06 14:37:25 +01:00
tpm_nsc.c char: tpm: drop owner assignment from platform_drivers 2014-10-20 16:20:21 +02:00
tpm_of.c
tpm_ppi.c ACPI / TPM: Fix resume regression on Chromebooks 2014-05-12 01:13:28 +02:00
tpm_tis.c tpm_tis: verify interrupt during init 2015-01-17 14:00:05 +01:00
xen-tpmfront.c xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00