mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
staging: fbtft: fix braces {} are not necessary for single statement blocks
This patch fixes the following checkpatch.pl warning:
braces {} are not necessary for single statement blocks
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b124fee657
commit
9d1d0a38bd
1 changed files with 1 additions and 2 deletions
|
|
@ -120,9 +120,8 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
|
|||
for (x = 0; x < 84; x++) {
|
||||
for (y = 0; y < 6; y++) {
|
||||
*buf = 0x00;
|
||||
for (i = 0; i < 8; i++) {
|
||||
for (i = 0; i < 8; i++)
|
||||
*buf |= (vmem16[(y*8+i)*84+x] ? 1 : 0) << i;
|
||||
}
|
||||
buf++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue