diff options
| author | Li Zetao <lizetao1@huawei.com> | 2024-09-10 23:48:03 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-10-12 16:28:25 +0200 |
| commit | 2c21fd53a1a0ab8cf0438a9d554ad47d1e9704b2 (patch) | |
| tree | 2f03dc391a8a49399df7c16188e59c0d574048b0 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 672f24ed6ebcd986688c6674a6d994a265fefc25 (diff) | |
| download | linux-2c21fd53a1a0ab8cf0438a9d554ad47d1e9704b2.tar.gz linux-2c21fd53a1a0ab8cf0438a9d554ad47d1e9704b2.zip | |
media: siano: remove redundant null pointer checks in cec_devnode_init()
Since the debugfs_create_dir() never returns a null pointer, checking
the return value for a null pointer is redundant, Remove this check
since debugfs_create_file can handle IS_ERR pointers.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
