]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: comedi: fix brace coding style issue in ni_daq_dio24.c
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Mon, 21 Nov 2011 10:37:00 +0000 (16:07 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:51:40 +0000 (18:51 -0800)
This is a patch to the ni_daq_dio24.c file that fixes up a
brace warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_daq_dio24.c

index 381ea6ca3aa9e95609c03540b5e4accb0dfc2c77..75b3f9aa916f40ad6a063ca39cac92a9bcc2f93e 100644 (file)
@@ -140,9 +140,8 @@ static int dio24_attach(struct comedi_device *dev, struct comedi_devconfig *it)
        printk("comedi%d: ni_daq_dio24: %s, io 0x%lx", dev->minor,
               thisboard->name, iobase);
 #ifdef incomplete
-       if (irq) {
+       if (irq)
                printk(", irq %u", irq);
-       }
 #endif
 
        printk("\n");