[PATCH][next] agp/amd64: remove redundant assignment to variable i

2024-02-15 Thread Colin Ian King
The variable i is being initialized with a value that is never read, it is being re-assigned in the next for-loop statement. The initialization is redundant and can be removed. Cleans up clang scan build warning: drivers/char/agp/amd64-agp.c:336:2: warning: Value stored to 'i' is never read [deadc

[PATCH][next] agp/amd64: remove redundant assignment to variable i

2023-10-23 Thread Colin Ian King
The variable i is being initialized to 0 and then again in the following for-loop. The initialization outside the for-loop is redundant and can be removed. Signed-off-by: Colin Ian King --- drivers/char/agp/amd64-agp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/agp/amd64-agp