diff options
| author | Sui Jingfeng <[email protected]> | 2024-05-13 23:31:05 +0800 |
|---|---|---|
| committer | Robert Foss <[email protected]> | 2024-05-13 18:31:07 +0200 |
| commit | 0a59deb2fedb8b6d9299327c4a9a5f4e77002e3b (patch) | |
| tree | dd6f4e0e484a330dad370a0201a8790ad72959fb /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | b24fd6e9eb66ff8695526c9e5d4409c1def13c0a (diff) | |
drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Remove a redundant check on existence of bridge->encoder
In the ge_b850v3_lvds_create_connector function, the check on the existence
of bridge->encoder is not necessary, as it has already been checked in the
drm_bridge_attach() function called by upstream bridge or driver. Hence, it
is guaranteed that the .encoder member of the drm_bridge instance is not
NULL when cdns_mhdp_connector_init() function get called.
Remove the redundant checking codes "if (!bridge->encoder) { ... }".
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sui Jingfeng <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions