Commit 8377e813 authored by Maurice Dawson's avatar Maurice Dawson Committed by Greg Kroah-Hartman

Staging: comedi: fix brace coding style issue in ni_labpc.c

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: default avatarMaurice Dawson <maurice2699@btinternet.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a917d4c4
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment