mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
video: rockchip: rga2: fix clang warning
drivers/video/rockchip/rga2/rga2_mmu_info.c:284:20: warning: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself [-Wself-assign]
stride = stride;
~~~~~~ ^ ~~~~~~
Change-Id: I1c5d3b2f3354437777c8431ad027a98815f1fe70
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -281,7 +281,6 @@ static int rga2_buf_size_cal(unsigned long yrgb_addr, unsigned long uv_addr, uns
|
||||
case RGA2_FORMAT_YCbCr_420_SP_10B:
|
||||
case RGA2_FORMAT_YCrCb_420_SP_10B:
|
||||
stride = (w + 3) & (~3);
|
||||
stride = stride;
|
||||
size_yrgb = stride * h;
|
||||
size_uv = (stride * (h >> 1));
|
||||
start = MIN(yrgb_addr, uv_addr);
|
||||
|
||||
Reference in New Issue
Block a user