linux/drivers/memory/tegra
Dan Carpenter c7c6570326 memory: tegra: Delete dead debugfs checking code
The debugfs_create_dir() function does not return NULL, it returns error
pointers.  But in normal situations like this where the caller is not
dereferencing "emc->debugfs.root" then we are not supposed to check the
return.  So instead of fixing these checks, we should delete them.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YMCQDTSyG8UuQoh0@mwanda
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
2021-06-10 09:18:15 +02:00
..
Kconfig
Makefile
mc.c
mc.h
tegra20-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra20.c
tegra30-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra30.c
tegra114.c
tegra124-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra124.c
tegra186-emc.c
tegra186.c
tegra194.c
tegra210-emc-cc-r21021.c
tegra210-emc-core.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra210-emc-table.c
tegra210-emc.h
tegra210-mc.h
tegra210.c