提交 dd290906 编写于 作者: C Colin Ian King 提交者: Helge Deller

video: fbdev: mb862xx: remove redundant assignment to pointer ptr

The pointer ptr is being assigned a value that is never read. The
pointer is being re-assigned later in a loop. The assignment is
redundant and can be removed.
Signed-off-by: NColin Ian King <colin.i.king@gmail.com>
Reviewed-by: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NHelge Deller <deller@gmx.de>
上级 fe4059c3
...@@ -132,7 +132,7 @@ static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, ...@@ -132,7 +132,7 @@ static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy,
cmd[2] = (height << 16) | width; cmd[2] = (height << 16) | width;
i = 0; i = 0;
line = ptr = image->data; line = image->data;
bytes = image->width; bytes = image->width;
while (i < height) { while (i < height) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册