OpenCloudOS-Kernel/drivers/media/platform/rockchip
Dan Carpenter 42ad70c469 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>
2020-12-03 08:59:10 +01:00
..
rga media: rockchip/rga: Fix a reference count leak. 2020-09-27 10:52:34 +02:00
rkisp1 media: rockchip: rkisp1: remove useless debugfs checks 2020-12-03 08:59:10 +01:00