]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: Drop unnecessary if_pixclk_rate computation
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 4 Feb 2025 12:40:05 +0000 (14:40 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 6 Feb 2025 10:57:53 +0000 (11:57 +0100)
commit9f40d7a94427a503e303b2a2d8db227d615e32c1
tree7f0cf552757435c0fd7aa913acd2585d18dbaed6
parent79982cbac896768c3860c241df2028c3e75f5a6b
drm/rockchip: vop2: Drop unnecessary if_pixclk_rate computation

The if_pixclk_rate variable is not being used outside of the if-block in
rk3588_calc_cru_cfg(), hence move the superfluous assignment from the
first branch to the inner comment-block.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tested-by: FUKAUMI Naoki <naoki@radxa.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250204-vop2-hdmi0-disp-modes-v3-2-d71c6a196e58@collabora.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c