Commit 31f0c349 authored by Len Baker's avatar Len Baker Committed by Greg Kroah-Hartman
Browse files

staging/fbtft: Remove unnecessary variable initialization



Remove the initialization of the variable "i" since it is written a few
lines later.

Signed-off-by: default avatarLen Baker <len.baker@gmx.com>
Link: https://lore.kernel.org/r/20210801085155.3170-3-len.baker@gmx.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b8888970
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -992,7 +992,7 @@ static int fbtft_init_display_from_property(struct fbtft_par *par)
int fbtft_init_display(struct fbtft_par *par)
{
	int buf[64];
	int i = 0;
	int i;
	int j;

	/* sanity check */