Commit 13fec56c authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman
Browse files

staging: comedi: ni_labpc: remove unnecessary braces in labpc_common_attach()



Correct checkpatch issue "WARNING: braces {} are not necessary for any
arm of this statement".

Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bdbb0512
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1390,11 +1390,10 @@ int labpc_common_attach(struct comedi_device *dev,

	/* 8255 dio */
	s = &dev->subdevices[2];
	if (dev->mmio) {
	if (dev->mmio)
		ret = subdev_8255_mm_init(dev, s, NULL, DIO_BASE_REG);
	} else {
	else
		ret = subdev_8255_init(dev, s, NULL, DIO_BASE_REG);
	}
	if (ret)
		return ret;