Combine two branches that set the predivider to the same value.

Signed-off-by: Philipp Zabel <[email protected]>
---
 drivers/gpu/drm/bridge/lontium-lt9211.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/bridge/lontium-lt9211.c 
b/drivers/gpu/drm/bridge/lontium-lt9211.c
index 5e5601551658..14afffcb2e4a 100644
--- a/drivers/gpu/drm/bridge/lontium-lt9211.c
+++ b/drivers/gpu/drm/bridge/lontium-lt9211.c
@@ -993,10 +993,7 @@ static int lt9211c_configure_tx(struct lt9211 *ctx, bool 
jeida, bool bpp24,
                phy_clk = (u32)(mode->clock * 7);
 
        /* 0x8231: prediv sel */
-       if (mode->clock < 20000) {
-               val = 0x28;
-               pre_div = 1;
-       } else if (mode->clock < 40000) {
+       if (mode->clock < 40000) {
                val = 0x28;
                pre_div = 1;
        } else if (mode->clock < 80000) {
-- 
2.47.3

Reply via email to