Commit 35b8542a authored by Dan Carpenter's avatar Dan Carpenter Committed by Yongzhen Zhang
Browse files

LoongArch: Delete unnecessary debugfs checking

mainline inclusion
from mainline-v6.5-rc1
commit d7c24960
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7MWTU


CVE: NA

--------------------------------

Debugfs functions are not supposed to be checked for errors.  This
is sort of unusual but it is described in the comments for the
debugfs_create_dir() function.  Also debugfs_create_dir() can never
return NULL.

Signed-off-by: default avatarYongzhen Zhang <zhangyongzhen@kylinos.cn>
Reviewed-by: default avatarWANG Xuerui <git@xen0n.name>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 926f0460
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment