Staging: comedi: comment out useless if
authorBill Pemberton <wfp5p@virginia.edu>
Thu, 23 Apr 2009 19:54:57 +0000 (15:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:33 +0000 (11:00 -0700)
This if test doesn't do anything, so comment it out.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/8255.c

index 2e181f01d39d7a8db4232e2d4769c59ede522df6..bdc3957bceb83c7de482eea6b5c032bae34a4125 100644 (file)
@@ -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);
        }