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

Commit 01351494 authored by Nizam Haider's avatar Nizam Haider Committed by Greg Kroah-Hartman
Browse files

Staging: dgnc: dgnc_neo.c Braces {} should be used on all arms of this statement



Fix Checlpatch warning
HECK: braces {} should be used on all arms of this statement

Signed-off-by: default avatarNizam Haider <nijamh@cdac.in>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5bff5d9f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1108,9 +1108,9 @@ static void neo_copy_data_from_uart_to_queue(struct channel_t *ch)
	 * On the other hand, if the UART IS in FIFO mode, then ask
	 * the UART to give us an approximation of data it has RX'ed.
	 */
	if (!(ch->ch_flags & CH_FIFO_ENABLED))
	if (!(ch->ch_flags & CH_FIFO_ENABLED)) {
		total = 0;
	else {
	} else {
		total = readb(&ch->ch_neo_uart->rfifo);

		/*