summaryrefslogtreecommitdiffstats
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-12-01 15:30:58 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-03 08:59:10 +0100
commit42ad70c469665387e8f7b53cb6d4581492dff906 (patch)
tree911466b90113106f3f78eb071d42acd75fd3b173 /tools/lib/python
parent0b6a3bf8f5630eced6bf04b3416ebaadc8d153cf (diff)
downloadlinux-42ad70c469665387e8f7b53cb6d4581492dff906.tar.gz
linux-42ad70c469665387e8f7b53cb6d4581492dff906.zip
media: rockchip: rkisp1: remove useless debugfs checks
The debugfs_create_dir() function never returns NULLs so this code will never be executed. It's not intended that callers will check for debugfs errors in the normal case and it's not necessary in this driver, so we can just delete this code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions