Re: [PATCH 1/2] omap3isp: Remove useless NULL check in omap3isp_stat_config

2018-05-07 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Monday, 7 May 2018 15:47:22 EEST Sakari Ailus wrote: > The omap3isp driver checked whether the second argument (the new > configuration) to the ISP statistics is NULL. This is the pointer to the > user-given argument and is never NULL. Remove the check. > >

[PATCH 1/2] omap3isp: Remove useless NULL check in omap3isp_stat_config

2018-05-07 Thread Sakari Ailus
The omap3isp driver checked whether the second argument (the new configuration) to the ISP statistics is NULL. This is the pointer to the user-given argument and is never NULL. Remove the check. Reported-by: "Gustavo A. R. Silva" Suggested-by: Laurent Pinchart Signed-off-by: Sakari Ailus --- d