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

Marek Vasut marex at denx.de
Wed May 10 09:21:55 PDT 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 linux-arm-kernel mailing list