diff options
author | Len Baker <len.baker@gmx.com> | 2021-08-01 11:51:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-05 14:05:57 +0300 |
commit | 31f0c349dd399ae03df5633abd73830b2429e7a1 (patch) | |
tree | 408024f455dd5ee75964f4a1d2cd4997815e6e89 /drivers/staging/fbtft | |
parent | b888897014a9986726b7f8d69356097722834c04 (diff) | |
download | linux-31f0c349dd399ae03df5633abd73830b2429e7a1.tar.xz |
staging/fbtft: Remove unnecessary variable initialization
Remove the initialization of the variable "i" since it is written a few
lines later.
Signed-off-by: Len Baker <len.baker@gmx.com>
Link: https://lore.kernel.org/r/20210801085155.3170-3-len.baker@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft')
-rw-r--r-- | drivers/staging/fbtft/fbtft-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index e6286043bff7..ed896049118c 100644 --- a/drivers/staging/fbtft/fbtft-core.c +++ b/drivers/staging/fbtft/fbtft-core.c @@ -992,7 +992,7 @@ out_free: int fbtft_init_display(struct fbtft_par *par) { int buf[64]; - int i = 0; + int i; int j; /* sanity check */ |