Staging: comedi: fix brace coding style issue in ni_labpc.c
authorMaurice Dawson <maurice2699@btinternet.com>
Fri, 19 Feb 2010 10:53:13 +0000 (10:53 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 15:59:01 +0000 (07:59 -0800)
This is a patch to the ni_labpc.c file that fixes up a brace warning
found by the checkpatch.pl tool.

Signed-off-by: Maurice Dawson <maurice2699@btinternet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_labpc.c

index dc3f398..a01e35d 100644 (file)
@@ -483,12 +483,10 @@ int labpc_common_attach(struct comedi_device *dev, unsigned long iobase,
 
        printk("comedi%d: ni_labpc: %s, io 0x%lx", dev->minor, thisboard->name,
               iobase);
-       if (irq) {
+       if (irq)
                printk(", irq %u", irq);
-       }
-       if (dma_chan) {
+       if (dma_chan)
                printk(", dma %u", dma_chan);
-       }
        printk("\n");
 
        if (iobase == 0) {