Skip to content

Commit dd29090

Browse files
ColinIanKinghdeller
authored andcommitted
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: Colin Ian King <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent fe4059c commit dd29090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/fbdev/mb862xx/mb862xxfb_accel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy,
132132
cmd[2] = (height << 16) | width;
133133

134134
i = 0;
135-
line = ptr = image->data;
135+
line = image->data;
136136
bytes = image->width;
137137

138138
while (i < height) {

0 commit comments

Comments
 (0)