Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm: Remove redundant statement in drm_crtc_helper_set_mode()

Commit dbbfaf5f2641a ("drm: Remove bridge support from legacy helpers")
removes the drm_bridge_mode_fixup() call in drm_crtc_helper_set_mode(),
which makes the subsequent "encoder_funcs = encoder->helper_private" be
redundant, so remove it.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20241111132149.1113736-1-chenhuacai@loongson.cn
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

authored by

Huacai Chen and committed by
Jani Nikula
e8b8b577 a600794a

-1
-1
drivers/gpu/drm/drm_crtc_helper.c
··· 334 334 if (!encoder_funcs) 335 335 continue; 336 336 337 - encoder_funcs = encoder->helper_private; 338 337 if (encoder_funcs->mode_fixup) { 339 338 if (!(ret = encoder_funcs->mode_fixup(encoder, mode, 340 339 adjusted_mode))) {