projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b888897
)
staging/fbtft: Remove unnecessary variable initialization
author
Len Baker
<len.baker@gmx.com>
Sun, 1 Aug 2021 08:51:54 +0000
(10:51 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 5 Aug 2021 11:05:57 +0000
(13:05 +0200)
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>
drivers/staging/fbtft/fbtft-core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/fbtft/fbtft-core.c
b/drivers/staging/fbtft/fbtft-core.c
index e6286043bff7b980ac552556e47cc9d725441a27..ed896049118c634bfc49a31ec57b7cf283956f06 100644
(file)
--- 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 */