Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7557b6e1 authored by Catalina Mocanu's avatar Catalina Mocanu Committed by Greg Kroah-Hartman
Browse files

staging: imx-drm: Don't put an else right after a return



This fixes the following checkpatch.pl warning:
WARNING: else is not generally useful after a break or return.

Signed-off-by: default avatarCatalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8684ba72
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -323,7 +323,6 @@ static unsigned int hdmi_compute_cts(unsigned int freq, unsigned long pixel_clk,
	}
	if (ratio == 100)
		return cts;
	else
	return (cts * ratio) / 100;
}

+1 −2
Original line number Diff line number Diff line
@@ -432,7 +432,6 @@ static long clk_tve_di_round_rate(struct clk_hw *hw, unsigned long rate,
		return *prate / 4;
	else if (div >= 2)
		return *prate / 2;
	else
	return *prate;
}