Re: [PATCH] media: NULL check is meaningless before debugfs_remove_recursive

2018-08-17 Thread zhong jiang
On 2018/8/17 17:18, Laurent Pinchart wrote: > Hi Zhong, > > Thank you for the patch. > > On Friday, 17 August 2018 06:37:26 EEST zhong jiang wrote: >> debugfs_remove_recursive has taken null pointer into account. so >> remove the unneeded check. >> >> Signed-off-by: zhong jiang > I already have a

Re: [PATCH] media: NULL check is meaningless before debugfs_remove_recursive

2018-08-17 Thread zhong jiang
On 2018/8/17 17:18, Laurent Pinchart wrote: > Hi Zhong, > > Thank you for the patch. > > On Friday, 17 August 2018 06:37:26 EEST zhong jiang wrote: >> debugfs_remove_recursive has taken null pointer into account. so >> remove the unneeded check. >> >> Signed-off-by: zhong jiang > I already have a

Re: [PATCH] media: NULL check is meaningless before debugfs_remove_recursive

2018-08-17 Thread Laurent Pinchart
Hi Zhong, Thank you for the patch. On Friday, 17 August 2018 06:37:26 EEST zhong jiang wrote: > debugfs_remove_recursive has taken null pointer into account. so > remove the unneeded check. > > Signed-off-by: zhong jiang I already have a similar patch in my tree (git://linuxtv.org/pinchartl/

Re: [PATCH] media: NULL check is meaningless before debugfs_remove_recursive

2018-08-17 Thread Laurent Pinchart
Hi Zhong, Thank you for the patch. On Friday, 17 August 2018 06:37:26 EEST zhong jiang wrote: > debugfs_remove_recursive has taken null pointer into account. so > remove the unneeded check. > > Signed-off-by: zhong jiang I already have a similar patch in my tree (git://linuxtv.org/pinchartl/

[PATCH] media: NULL check is meaningless before debugfs_remove_recursive

2018-08-16 Thread zhong jiang
debugfs_remove_recursive has taken null pointer into account. so remove the unneeded check. Signed-off-by: zhong jiang --- drivers/media/usb/uvc/uvc_debugfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_debugfs.c

[PATCH] media: NULL check is meaningless before debugfs_remove_recursive

2018-08-16 Thread zhong jiang
debugfs_remove_recursive has taken null pointer into account. so remove the unneeded check. Signed-off-by: zhong jiang --- drivers/media/usb/uvc/uvc_debugfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_debugfs.c