staging: comedi: adl_pci9118: remove 'ai_timer2' from private data
This member of the private data is set but never used. 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>
This commit is contained in:
parent
c8d4bd1b23
commit
f398b0ea67
1 changed files with 0 additions and 4 deletions
|
@ -340,7 +340,6 @@ struct pci9118_private {
|
||||||
* how many channels we must add
|
* how many channels we must add
|
||||||
* before scan to satisfy DMA?
|
* before scan to satisfy DMA?
|
||||||
*/
|
*/
|
||||||
unsigned int ai_timer2;
|
|
||||||
unsigned int ai_flags;
|
unsigned int ai_flags;
|
||||||
char ai12_startstop; /*
|
char ai12_startstop; /*
|
||||||
* measure can start/stop
|
* measure can start/stop
|
||||||
|
@ -1611,7 +1610,6 @@ static int pci9118_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
||||||
devpriv->ai12_startstop = 0;
|
devpriv->ai12_startstop = 0;
|
||||||
devpriv->ai_flags = cmd->flags;
|
devpriv->ai_flags = cmd->flags;
|
||||||
devpriv->ai_n_scanlen = cmd->scan_end_arg;
|
devpriv->ai_n_scanlen = cmd->scan_end_arg;
|
||||||
devpriv->ai_timer2 = 0;
|
|
||||||
devpriv->ai_add_front = 0;
|
devpriv->ai_add_front = 0;
|
||||||
devpriv->ai_add_back = 0;
|
devpriv->ai_add_back = 0;
|
||||||
devpriv->ai_maskerr = 0x10e;
|
devpriv->ai_maskerr = 0x10e;
|
||||||
|
@ -1762,7 +1760,6 @@ static int pci9118_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
||||||
&devpriv->ai_divisor1,
|
&devpriv->ai_divisor1,
|
||||||
&devpriv->ai_divisor2, devpriv->usessh,
|
&devpriv->ai_divisor2, devpriv->usessh,
|
||||||
devpriv->ai_add_front);
|
devpriv->ai_add_front);
|
||||||
devpriv->ai_timer2 = cmd->convert_arg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((cmd->scan_begin_src == TRIG_TIMER) &&
|
if ((cmd->scan_begin_src == TRIG_TIMER) &&
|
||||||
|
@ -1784,7 +1781,6 @@ static int pci9118_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
||||||
&devpriv->ai_divisor1,
|
&devpriv->ai_divisor1,
|
||||||
&devpriv->ai_divisor2, devpriv->usessh,
|
&devpriv->ai_divisor2, devpriv->usessh,
|
||||||
devpriv->ai_add_front);
|
devpriv->ai_add_front);
|
||||||
devpriv->ai_timer2 = cmd->convert_arg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((cmd->scan_begin_src == TRIG_FOLLOW)
|
if ((cmd->scan_begin_src == TRIG_FOLLOW)
|
||||||
|
|
Loading…
Add table
Reference in a new issue