[PATCH v6 2/6] drm: lcdif: Drop unnecessary NULL pointer check on lcdif->bridge

Marek Vasut marex at denx.de
Wed May 10 16:21:55 UTC 2023


On 5/10/23 11:24, Liu Ying wrote:
> A valid bridge is already found in lcdif_attach_bridge() and set
> to lcdif->bridge, so lcdif->bridge cannot be a NULL pointer. Drop
> the unnecessary NULL pointer check in KMS stage.
> 
> Tested-by: Alexander Stein <alexander.stein at ew.tq-group.com>
> Reviewed-by: Alexander Stein <alexander.stein at ew.tq-group.com>
> Signed-off-by: Liu Ying <victor.liu at nxp.com>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the dri-devel mailing list