Commit cb3a6194 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 649c836e
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment