summaryrefslogtreecommitdiff
path: root/drivers/platform/Kconfig
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-27 11:09:38 +0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-12-03 21:40:03 +0200
commit9a92ed29ca961f118b45a2893416df753c287845 (patch)
treeddfb930b0eb5c31c972099d855717df43e0d2896 /drivers/platform/Kconfig
parente278558a1f4b91ed381d5b0168e2f6743a03ae20 (diff)
downloadlwn-9a92ed29ca961f118b45a2893416df753c287845.tar.gz
lwn-9a92ed29ca961f118b45a2893416df753c287845.zip
platform/x86: intel_ips: remove unnecessary checks in ips_debugfs_init
As Greg KH explained in: https://lkml.org/lkml/2015/8/15/114 There no need to check the return value of debugfs_create_file() and debugfs_create_dir(). This also fix static code checker warnings: drivers/platform/x86/intel_ips.c:1314 ips_debugfs_init() warn: passing zero to 'PTR_ERR' drivers/platform/x86/intel_ips.c:1328 ips_debugfs_init() warn: passing zero to 'PTR_ERR' Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/Kconfig')
0 files changed, 0 insertions, 0 deletions