summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/mb862xx
diff options
context:
space:
mode:
authorColin Ian King <colin.king@intel.com>2021-12-21 03:42:46 +0300
committerHelge Deller <deller@gmx.de>2022-01-30 00:24:25 +0300
commitdd2909066402006a4256f5a2942fbeed1b73df86 (patch)
tree456d0ef9adce182811677c6695b994f3603972ef /drivers/video/fbdev/mb862xx
parentfe4059c3c4c25cad2bb61aa86efb8dd2d56f621d (diff)
downloadlinux-dd2909066402006a4256f5a2942fbeed1b73df86.tar.xz
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 <colin.i.king@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/mb862xx')
-rw-r--r--drivers/video/fbdev/mb862xx/mb862xxfb_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c b/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c
index d40b806461ca..61aed7fc0b8d 100644
--- a/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c
+++ b/drivers/video/fbdev/mb862xx/mb862xxfb_accel.c
@@ -132,7 +132,7 @@ static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy,
cmd[2] = (height << 16) | width;
i = 0;
- line = ptr = image->data;
+ line = image->data;
bytes = image->width;
while (i < height) {