]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: speakup: Removed blank line after open braces.
authorVarsha Rao <rvarsha016@gmail.com>
Wed, 22 Feb 2017 17:41:33 +0000 (23:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:02 +0000 (09:17 +0100)
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>
drivers/staging/speakup/kobjects.c
drivers/staging/speakup/serialio.c

index 4e7ebc306488f340f0e9b7f4f482794bd2a4a4a6..77e6deebb22b6478b1501c6ad48b45329e40ab42 100644 (file)
@@ -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++;
 
index ef89dc1c21c81c5951ce6ca99cdc1708e1444f3e..87d33185059ec1a2cc7bb95dcdd36aff4053a2da 100644 (file)
@@ -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);
        }