From 293d3fe685a0d255f8c5ccbf3609d18591e3c1f6 Mon Sep 17 00:00:00 2001 From: Ahmet Sezgin Duran Date: Tue, 12 May 2026 16:41:23 +0000 Subject: [PATCH] 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 Link: https://patch.msgid.link/20260512164124.188210-4-ahmet@sezginduran.net Signed-off-by: Greg Kroah-Hartman --- 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;