Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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)