Staging: comedi: addi-data: clean up formatting of the else statement
authorMarcin Kostrzewa <marckostrzewa@gmail.com>
Tue, 27 May 2014 14:38:58 +0000 (14:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:18:11 +0000 (14:18 -0700)
Signed-off-by: Marcin Kostrzewa <marckostrzewa@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c

index 20e89b0bdc4d799e30d05dbb5417fef16ee66663..e82c3fcd048bf2fa1c4d215327c2257c1660dbf6 100644 (file)
@@ -102,11 +102,7 @@ static int apci3501_write_insn_timer(struct comedi_device *dev,
                        ul_Command1 = (ul_Command1 & 0xFFFFF9FFUL) | 0x1UL;
                        /* Enable the Watchdog */
                        outl(ul_Command1, dev->iobase + APCI3501_TIMER_CTRL_REG);
-               }
-
-               else if (data[1] == 0)  /* Stop The Watchdog */
-               {
-                       /* Stop The Watchdog */
+               } else if (data[1] == 0) { /* Stop The Watchdog */
                        ul_Command1 = inl(dev->iobase + APCI3501_TIMER_CTRL_REG);
                        ul_Command1 = ul_Command1 & 0xFFFFF9FEUL;
                        outl(0x0, dev->iobase + APCI3501_TIMER_CTRL_REG);