Re: [PATCH v8 1/3] uvcvideo: remove a redundant check

2018-07-10 Thread Laurent Pinchart
Hi Guennadi, Thank you for the patch. On Tuesday, 8 May 2018 18:07:42 EEST Guennadi Liakhovetski wrote: > Event subscribers cannot have a NULL file handle. They are only added > at a single location in the code, and the .fh pointer is used without > checking there. > > Signed-off-by: Guennadi

[PATCH v8 1/3] uvcvideo: remove a redundant check

2018-05-08 Thread Guennadi Liakhovetski
Event subscribers cannot have a NULL file handle. They are only added at a single location in the code, and the .fh pointer is used without checking there. Signed-off-by: Guennadi Liakhovetski --- drivers/media/usb/uvc/uvc_ctrl.c | 4 ++-- 1 file changed, 2