Commit 10000711 authored by Laurence Rochfort's avatar Laurence Rochfort Committed by Greg Kroah-Hartman

Staging: fbtft: Fix unbalanced braces around else statement

Balance if/else braces as recommended by checkpatch.pl
Signed-off-by: default avatarLaurence Rochfort <laurence.rochfort@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4bfdd774
...@@ -282,10 +282,10 @@ static void iterate_diffusion_matrix(u32 xres, u32 yres, int x, ...@@ -282,10 +282,10 @@ static void iterate_diffusion_matrix(u32 xres, u32 yres, int x,
continue; continue;
write_pos = &convert_buf[(y + j) * xres + x + i]; write_pos = &convert_buf[(y + j) * xres + x + i];
coeff = diffusing_matrix[i][j]; coeff = diffusing_matrix[i][j];
if (-1 == coeff) if (-1 == coeff) {
/* pixel itself */ /* pixel itself */
*write_pos = pixel; *write_pos = pixel;
else { } else {
signed short p = *write_pos + error * coeff; signed short p = *write_pos + error * coeff;
if (p > WHITE) if (p > WHITE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment