mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:20:37 +07:00
drm/amdgpu/display: fix compiler errors [-Werror,-Wparentheses-equality]
Remove extraneous parentheses around the comparison to silence this warning Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
77476360f1
commit
ba345a0242
@ -63,7 +63,7 @@ void scaler_settings_calculation(struct dcn_bw_internal_vars *v)
|
|||||||
if (v->interlace_output[k] == 1.0) {
|
if (v->interlace_output[k] == 1.0) {
|
||||||
v->v_ratio[k] = 2.0 * v->v_ratio[k];
|
v->v_ratio[k] = 2.0 * v->v_ratio[k];
|
||||||
}
|
}
|
||||||
if ((v->underscan_output[k] == 1.0)) {
|
if (v->underscan_output[k] == 1.0) {
|
||||||
v->h_ratio[k] = v->h_ratio[k] * v->under_scan_factor;
|
v->h_ratio[k] = v->h_ratio[k] * v->under_scan_factor;
|
||||||
v->v_ratio[k] = v->v_ratio[k] * v->under_scan_factor;
|
v->v_ratio[k] = v->v_ratio[k] * v->under_scan_factor;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user