Re: [PATCH][next] drm/omap: clean up error exit path on omap_encoder allocation failure

2024-10-28 Thread Tomi Valkeinen
Hi, On 15/10/2024 17:10, Colin Ian King wrote: Currently when an allocation failure occurs for omap_encoder the exit path will destroy encoder via omap_encoder_destroy if it is not null. However, encoder is always null at this point, so the check and destroy is redundant and can be removed. Cle

[PATCH][next] drm/omap: clean up error exit path on omap_encoder allocation failure

2024-10-15 Thread Colin Ian King
Currently when an allocation failure occurs for omap_encoder the exit path will destroy encoder via omap_encoder_destroy if it is not null. However, encoder is always null at this point, so the check and destroy is redundant and can be removed. Clean up the code by removing the exit path and redun