From: Marcin Kostrzewa Date: Tue, 27 May 2014 14:38:58 +0000 (+0000) Subject: Staging: comedi: addi-data: clean up formatting of the else statement X-Git-Tag: firefly_0821_release~176^2~3465^2~39^2~90 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6015bd55382e3aa93fa0d597fffd8a5a51b0f51a;p=firefly-linux-kernel-4.4.55.git Staging: comedi: addi-data: clean up formatting of the else statement Signed-off-by: Marcin Kostrzewa Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c index 20e89b0bdc4d..e82c3fcd048b 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c @@ -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);