diff options
| author | Liu Ying <victor.liu@nxp.com> | 2023-05-10 12:24:46 +0300 |
|---|---|---|
| committer | Marek Vasut <marex@denx.de> | 2023-05-26 20:07:30 +0300 |
| commit | 3f07432025890f1a49c30132420fb0e623a84a20 (patch) | |
| tree | 1c8befe50f8ce117835e95a962083dae6895a3a7 /lib/mpi/mpi-sub-ui.c | |
| parent | fff8013f15204a902977e7520b0ef7648a655aa9 (diff) | |
| download | linux-3f07432025890f1a49c30132420fb0e623a84a20.tar.xz | |
drm: lcdif: Drop unnecessary NULL pointer check on lcdif->bridge
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@ew.tq-group.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230510092450.4024730-3-victor.liu@nxp.com
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
