staging: comedi: pcmmio: remove commented out debug code
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 17:21:24 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Nov 2013 17:55:16 +0000 (09:55 -0800)
Remove the commented out code in init_asics() that enables the rising
edge interrupts on port0 of both asics.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmmio.c

index 1ebc9d2df67ddf276d1633296cd1f897de3280fe..6da836e8caf1945eb73a85d3d402b61ceac60ef8 100644 (file)
@@ -357,13 +357,6 @@ static void init_asics(struct comedi_device *dev)
                                outb(0, baseaddr + reg);
                }
 
-               /* DEBUG  set rising edge interrupts on port0 of both asics */
-               /*switch_page(dev, asic, PAGE_POL);
-                  outb(0xff, baseaddr + REG_POL0);
-                  switch_page(dev, asic, PAGE_ENAB);
-                  outb(0xff, baseaddr + REG_ENAB0); */
-               /* END DEBUG */
-
                /* switch back to default page 0 */
                switch_page(dev, asic, 0);
        }