LoongArch: Delete unnecessary debugfs checking
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 29 Jun 2023 12:58:42 +0000 (20:58 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 29 Jun 2023 12:58:42 +0000 (20:58 +0800)
commitd7c24960975b02211c53afe97c36acde5c8ff933
tree15bab77a3a1c44cc82a4d3f28306f65e5679b6a9
parent872b368b2282604aafbc8af1275e0b28a73b8636
LoongArch: Delete unnecessary debugfs checking

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.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/unaligned.c