diff options
author | Wentao Liang <vulab@iscas.ac.cn> | 2025-03-06 12:27:20 +0800 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2025-04-23 22:53:01 +0900 |
commit | 0253dadc772e83aaa67aea8bf24a71e7ffe13cb0 (patch) | |
tree | 1ffd6a15ebd0c6bfea61d8b32d0608d2fa47b8ff /rust/helpers/task.c | |
parent | cfa00a625f1c730e93f96b5b4ba7c1b4dc286c79 (diff) | |
download | linux-0253dadc772e83aaa67aea8bf24a71e7ffe13cb0.tar.gz linux-0253dadc772e83aaa67aea8bf24a71e7ffe13cb0.tar.bz2 linux-0253dadc772e83aaa67aea8bf24a71e7ffe13cb0.zip |
drm/exynos/vidi: Remove redundant error handling in vidi_get_modes()
In the vidi_get_modes() function, if either drm_edid_dup() or
drm_edid_alloc() fails, the function will immediately return 0,
indicating that no display modes can be retrieved. However, in
the event of failure in these two functions, it is still necessary
to call the subsequent drm_edid_connector_update() function with
a NULL drm_edid as an argument. This ensures that operations such
as connector settings are performed in its callee function,
_drm_edid_connector_property_update. To maintain the integrity of
the operation, redundant error handling needs to be removed.
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions