diff options
author | Konrad Zapalowicz <bergo.torino@gmail.com> | 2014-08-06 21:01:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:14 -0700 |
commit | 13d1773ace622802e99f2aae577f30eab444eb55 (patch) | |
tree | 7dc326a569bf3ecef8f02d63f8478b329a16676f /drivers/staging/dgnc/dgnc_neo.c | |
parent | 5ef33f38cb148ad0fb4a7c8860d8e1c7ebe16bdb (diff) | |
download | op-kernel-dev-13d1773ace622802e99f2aae577f30eab444eb55.zip op-kernel-dev-13d1773ace622802e99f2aae577f30eab444eb55.tar.gz |
staging: dgnc: Fix braces {} are not necessary for single statement blocks
This commit fixes the following checkpath warning in dgnc_neo.c file:
'braces {} are not necessary for single statement blocks'
Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_neo.c')
-rw-r--r-- | drivers/staging/dgnc/dgnc_neo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index e6aeda3..b4198e0 100644 --- a/drivers/staging/dgnc/dgnc_neo.c +++ b/drivers/staging/dgnc/dgnc_neo.c @@ -1804,9 +1804,8 @@ static uint neo_get_uart_bytes_left(struct channel_t *ch) /* Determine whether the Transmitter is empty or not */ if (!(lsr & UART_LSR_TEMT)) { - if (ch->ch_flags & CH_TX_FIFO_EMPTY) { + if (ch->ch_flags & CH_TX_FIFO_EMPTY) tasklet_schedule(&ch->ch_bd->helper_tasklet); - } left = 1; } else { ch->ch_flags |= (CH_TX_FIFO_EMPTY | CH_TX_FIFO_LWM); |