diff options
author | Nizam Haider <nizamhaider786@gmail.com> | 2015-11-14 20:10:45 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 15:50:59 -0800 |
commit | 013514946cbd85dea2a12e8848f2cfb775eecd52 (patch) | |
tree | 84ddd1390e326625a5df95f054240679eec428bd /drivers/staging/dgnc | |
parent | 5bff5d9f2b557f63015925b1b076f98010533c52 (diff) | |
download | linux-013514946cbd85dea2a12e8848f2cfb775eecd52.tar.gz linux-013514946cbd85dea2a12e8848f2cfb775eecd52.tar.bz2 linux-013514946cbd85dea2a12e8848f2cfb775eecd52.zip |
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: Nizam Haider <nijamh@cdac.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_neo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index 15c255d184dc..39c76e78e56a 100644 --- a/drivers/staging/dgnc/dgnc_neo.c +++ b/drivers/staging/dgnc/dgnc_neo.c @@ -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); /* |