mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 14:17:43 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ void scaler_settings_calculation(struct dcn_bw_internal_vars *v)
|
|||
if (v->interlace_output[k] == 1.0) {
|
||||
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->v_ratio[k] = v->v_ratio[k] * v->under_scan_factor;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue