Re: [PATCH v2] media: rockchip: rkisp1: remove useless debugfs checks

2020-12-01 Thread Helen Koike
On 12/1/20 11:30 AM, Dan Carpenter wrote: > 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. >

[PATCH v2] media: rockchip: rkisp1: remove useless debugfs checks

2020-12-01 Thread Dan Carpenter
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 --- v2: Fix subject