diff options
| author | Sui Jingfeng <sui.jingfeng@linux.dev> | 2024-05-13 23:31:05 +0800 |
|---|---|---|
| committer | Robert Foss <rfoss@kernel.org> | 2024-05-13 18:31:07 +0200 |
| commit | 0a59deb2fedb8b6d9299327c4a9a5f4e77002e3b (patch) | |
| tree | dd6f4e0e484a330dad370a0201a8790ad72959fb /tools/lib/python/kdoc/python_version.py | |
| parent | b24fd6e9eb66ff8695526c9e5d4409c1def13c0a (diff) | |
| download | linux-0a59deb2fedb8b6d9299327c4a9a5f4e77002e3b.tar.gz linux-0a59deb2fedb8b6d9299327c4a9a5f4e77002e3b.zip | |
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240513153109.46786-9-sui.jingfeng@linux.dev
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
