Skip to content
Commit 04736f7d authored by Li Zetao's avatar Li Zetao Committed by Ard Biesheuvel
Browse files

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: default avatarLi Zetao <lizetao1@huawei.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 77d48d39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment