original_kernel/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 memory: tegra: Enable compile testing for all drivers 2021-06-03 14:24:03 +02:00
Makefile memory: tegra: Split Tegra194 data into separate file 2021-06-03 21:49:41 +02:00
mc.c memory: tegra: Implement SID override programming 2021-06-03 21:50:43 +02:00
mc.h memory: tegra: Split Tegra194 data into separate file 2021-06-03 21:49:41 +02:00
tegra20-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra20.c memory: tegra: Parameterize interrupt handler 2021-06-03 21:49:41 +02:00
tegra30-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra30.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra114.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra124-emc.c memory: tegra: Delete dead debugfs checking code 2021-06-10 09:18:15 +02:00
tegra124.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra186-emc.c
tegra186.c memory: tegra: Implement SID override programming 2021-06-03 21:50:43 +02:00
tegra194.c memory: tegra: Split Tegra194 data into separate file 2021-06-03 21:49:41 +02:00
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 memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00