staging: comedi: dt3000: remove #if 0'ed out code
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 8 Oct 2015 17:48:28 +0000 (10:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:59:26 +0000 (22:59 -0700)
Replace the disabled code in dt3k_dio_config() with a comment in case
it's actually needed.

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/dt3000.c

index 0610875f9f1c1cb32e6340e97c9500cc2ad76e3d..32bd68db29bbb3d3df4f2d132058134c2cadf058 100644 (file)
@@ -554,11 +554,8 @@ static void dt3k_dio_config(struct comedi_device *dev, int bits)
        writew(DPR_SUBSYS_DOUT, dev->mmio + DPR_SUBSYS);
 
        writew(bits, dev->mmio + DPR_PARAMS(0));
-#if 0
-       /* don't know */
-       writew(0, dev->mmio + DPR_PARAMS(1));
-       writew(0, dev->mmio + DPR_PARAMS(2));
-#endif
+
+       /* XXX write 0 to DPR_PARAMS(1) and DPR_PARAMS(2) ? */
 
        dt3k_send_cmd(dev, DPR_CMD_CONFIG);
 }