diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-02-22 23:11:33 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 09:17:02 +0100 |
commit | 8190e15c40d0d8e8c937fe8c41fcec1a20ddf4a4 (patch) | |
tree | da98dcf0e8c7a8d15d64e4a07feb928d68441758 /drivers/staging/speakup | |
parent | 904cf12dd3c6a1b5fd1166d73584509cb505eaf1 (diff) |
staging: speakup: Removed blank line after open braces.
Remove blank line after open braces, to fix the following checkpatch issue:
CHECK: Blank lines aren't necessary after an open brace '{'
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/kobjects.c | 1 | ||||
-rw-r--r-- | drivers/staging/speakup/serialio.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c index 4e7ebc306488..77e6deebb22b 100644 --- a/drivers/staging/speakup/kobjects.c +++ b/drivers/staging/speakup/kobjects.c @@ -129,7 +129,6 @@ static ssize_t chars_chartab_store(struct kobject *kobj, spin_lock_irqsave(&speakup_info.spinlock, flags); while (cp < end) { - while ((cp < end) && (*cp == ' ' || *cp == '\t')) cp++; diff --git a/drivers/staging/speakup/serialio.c b/drivers/staging/speakup/serialio.c index ef89dc1c21c8..87d33185059e 100644 --- a/drivers/staging/speakup/serialio.c +++ b/drivers/staging/speakup/serialio.c @@ -97,7 +97,6 @@ static irqreturn_t synth_readbuf_handler(int irq, void *dev_id) spin_lock_irqsave(&speakup_info.spinlock, flags); while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { - c = inb_p(speakup_info.port_tts+UART_RX); synth->read_buff_add((u_char)c); } |