diff options
| author | Li Zetao <[email protected]> | 2024-09-03 14:41:15 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2024-09-13 14:25:43 +0000 |
| commit | 04736f7d1945722117def1462fd3602c72c02272 (patch) | |
| tree | b8bdfd0351ee107ac9d229ab8536ac861a3ec8db /drivers/platform/surface/surface_aggregator_cdev.c | |
| parent | efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption (diff) | |
| download | kernel-04736f7d1945722117def1462fd3602c72c02272.tar.gz kernel-04736f7d1945722117def1462fd3602c72c02272.zip | |
efi: Remove redundant null pointer checks in efi_debugfs_init()
Since the debugfs_create_dir() never returns a null pointer, checking
the return value for a null pointer is redundant, and using IS_ERR is
safe enough.
Signed-off-by: Li Zetao <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/platform/surface/surface_aggregator_cdev.c')
0 files changed, 0 insertions, 0 deletions
