Re: [PATCH] drm/bridge: nxp-ptn3460: Remove a small useless code snippet

2024-05-12 Thread Laurent Pinchart
Hi Sui, Thank you for the patch. On Sat, May 11, 2024 at 09:42:50PM +0800, Sui Jingfeng wrote: > In ptn3460_bridge_attach(), the check on the existence of bridge->encoder > has already been done in the implementation of drm_bridge_attach(). The > driver won't go further if bridge->encoder is NULL

[PATCH] drm/bridge: nxp-ptn3460: Remove a small useless code snippet

2024-05-11 Thread Sui Jingfeng
In ptn3460_bridge_attach(), the check on the existence of bridge->encoder has already been done in the implementation of drm_bridge_attach(). The driver won't go further if bridge->encoder is NULL and the driver will quit even if drm_bridge_attach() fails for some reasons. Thereforei, there is no n