amd/display: remove unneeded variable: "pattern"
Remove unneeded variable: "pattern". Signed-off-by: Bernard Zhao <bernard@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
bb377febb1
commit
4b1d6831b3
|
@ -126,9 +126,7 @@ static void dpcd_set_training_pattern(
|
|||
static enum dc_dp_training_pattern decide_cr_training_pattern(
|
||||
const struct dc_link_settings *link_settings)
|
||||
{
|
||||
enum dc_dp_training_pattern pattern = DP_TRAINING_PATTERN_SEQUENCE_1;
|
||||
|
||||
return pattern;
|
||||
return DP_TRAINING_PATTERN_SEQUENCE_1;
|
||||
}
|
||||
|
||||
static enum dc_dp_training_pattern decide_eq_training_pattern(struct dc_link *link,
|
||||
|
|
Loading…
Reference in New Issue