forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/video/fbdev/kyro/STG4000OverlayDevice.c
....@@ -331,7 +331,7 @@
331331 u32 ulScale;
332332 u32 ulLeft, ulRight;
333333 u32 ulSrcLeft, ulSrcRight;
334
- u32 ulScaleLeft, ulScaleRight;
334
+ u32 ulScaleLeft;
335335 u32 ulhDecim;
336336 u32 ulsVal;
337337 u32 ulVertDecFactor;
....@@ -470,7 +470,6 @@
470470 * round down the pixel pos to the nearest 8 pixels.
471471 */
472472 ulScaleLeft = ulSrcLeft;
473
- ulScaleRight = ulSrcRight;
474473
475474 /* shift fxscale until it is in the range of the scaler */
476475 ulhDecim = 0;