diff options
author | Dan Carpenter <[email protected]> | 2023-06-29 20:58:42 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2023-06-29 20:58:42 +0800 |
commit | d7c24960975b02211c53afe97c36acde5c8ff933 (patch) | |
tree | 15bab77a3a1c44cc82a4d3f28306f65e5679b6a9 /lib/memory-notifier-error-inject.c | |
parent | 872b368b2282604aafbc8af1275e0b28a73b8636 (diff) |
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 <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions