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

Commit cc346b6a authored by Castulo J. Martinez's avatar Castulo J. Martinez Committed by Greg Kroah-Hartman
Browse files

staging: speakup: Remove unnecessary parentheses



Remove unnecessary parentheses from if statements to make the code
easier to read.

Issue found by checkpatch.

Signed-off-by: default avatarCastulo J. Martinez <castulo.martinez@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b677f4ec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ void speakup_start_ttys(void)
	for (i = 0; i < MAX_NR_CONSOLES; i++) {
		if (speakup_console[i] && speakup_console[i]->tty_stopped)
			continue;
		if ((vc_cons[i].d) && (vc_cons[i].d->port.tty))
		if (vc_cons[i].d && vc_cons[i].d->port.tty)
			start_tty(vc_cons[i].d->port.tty);
	}
}
@@ -38,7 +38,7 @@ static void speakup_stop_ttys(void)
	int i;

	for (i = 0; i < MAX_NR_CONSOLES; i++)
		if ((vc_cons[i].d && (vc_cons[i].d->port.tty)))
		if (vc_cons[i].d && vc_cons[i].d->port.tty)
			stop_tty(vc_cons[i].d->port.tty);
}