[PATCH 3/4] staging: sm750fb: remove unnecessary initialization
From: Ahmet Sezgin Duran
Date: Tue May 12 2026 - 12:56:51 EST
Remove `data = 0` initialization since the variable is reset each
time in the for loop.
Signed-off-by: Ahmet Sezgin Duran <ahmet@xxxxxxxxxxxxxxx>
---
drivers/staging/sm750fb/sm750_cursor.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c
index 9d6bca3106f4..f822d147ede9 100644
--- a/drivers/staging/sm750fb/sm750_cursor.c
+++ b/drivers/staging/sm750fb/sm750_cursor.c
@@ -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;
--
2.53.0