Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4d30ee8 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

Staging: comedi: comment out useless if



This if test doesn't do anything, so comment it out.

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8629efa4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -361,8 +361,10 @@ int subdev_8255_init_irq(struct comedi_device *dev, struct comedi_subdevice * s,
void subdev_8255_cleanup(struct comedi_device *dev, struct comedi_subdevice * s)
{
	if (s->private) {
		if (subdevpriv->have_irq) {
		}
		/* this test does nothing, so comment it out
		 * if (subdevpriv->have_irq) {
		 * }
		 */

		kfree(s->private);
	}