staging: comedi: dt3000: remove #if 0'ed out code

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>
This commit is contained in:
H Hartley Sweeten 2015-10-08 10:48:28 -07:00 committed by Greg Kroah-Hartman
parent 649c836ea3
commit cb3a6194e1

View 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);
}