mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
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:
parent
145a22aab1
commit
293d3fe685
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user