summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhengkang Huang <zkhuang@hust.edu.cn>2023-04-19 18:03:03 +0800
committerTzung-Bi Shih <tzungbi@kernel.org>2023-04-24 13:35:12 +0800
commitd184d60aa301e424cd0cf7de90b40744710a2417 (patch)
tree99442ea05246000ba1a1ce2974deb493413feffd /include
parent1f3744b89164a430865d18b757b86c4007627855 (diff)
downloadlwn-d184d60aa301e424cd0cf7de90b40744710a2417.tar.gz
lwn-d184d60aa301e424cd0cf7de90b40744710a2417.zip
platform/chrome: wilco_ec: remove return value check of debugfs_create_dir()
Smatch complains that: wilco_ec_debugfs_probe() warn: 'debug_info->dir' is an error pointer or valid Debugfs checks are generally not supposed to be checked for errors and it is not necessary here. Just delete the dead code. Signed-off-by: Zhengkang Huang <zkhuang@hust.edu.cn> Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://lore.kernel.org/r/20230419100303.343379-1-zkhuang@hust.edu.cn
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions