staging: sm750fb: remove unnecessary initialization

Remove `data = 0` initialization since the variable is reset each
time in the for loop.

Signed-off-by: Ahmet Sezgin Duran <ahmet@sezginduran.net>
Link: https://patch.msgid.link/20260512164124.188210-4-ahmet@sezginduran.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ahmet Sezgin Duran 2026-05-12 16:41:23 +00:00 committed by Greg Kroah-Hartman
parent 145a22aab1
commit 293d3fe685

View File

@ -84,7 +84,6 @@ void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop,
/* in byte */
offset = cursor->max_w * 2 / 8;
data = 0;
pstart = cursor->vstart;
pbuffer = pstart;