Skip to content

Commit c9f14be

Browse files
committed
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>
1 parent 5b8d225 commit c9f14be

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/video/rockchip/rga2/rga2_mmu_info.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ static int rga2_buf_size_cal(unsigned long yrgb_addr, unsigned long uv_addr, uns
323323
case RGA2_FORMAT_YCbCr_420_SP_10B:
324324
case RGA2_FORMAT_YCrCb_420_SP_10B:
325325
stride = (w + 3) & (~3);
326-
stride = stride;
327326
size_yrgb = stride * h;
328327
size_uv = (stride * (h >> 1));
329328
start = MIN(yrgb_addr, uv_addr);

0 commit comments

Comments
 (0)