staging: comedi: pcl816: remove TRIG_WAKE_EOS support stub
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 23:42:21 +0000 (16:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 17:20:23 +0000 (09:20 -0800)
The support code for this command flag is commented out. Just remove
it.

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

index e1a59f167d29dea67a21f2dcd05665006a868b6e..149a28bbf0865b78a6b9357bb3bd7d0817930cdf 100644 (file)
@@ -539,15 +539,6 @@ static int pcl816_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
                devpriv->ai_neverending = 1;
        }
 
-       /*  don't we want wake up every scan? */
-       if ((cmd->flags & TRIG_WAKE_EOS)) {
-               printk(KERN_INFO
-                      "pl816: You wankt WAKE_EOS but I dont want handle it");
-               /*               devpriv->ai_eos=1; */
-               /* if (devpriv->ai_n_chan==1) */
-               /*       devpriv->dma=0; // DMA is useless for this situation */
-       }
-
        if (devpriv->dma) {
                bytes = devpriv->hwdmasize[0];
                if (!devpriv->ai_neverending) {