staging: comedi: pcl818: remove private data member 'ai_act_chan'

This member of the private data is set to '0' 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:
H Hartley Sweeten 2014-11-05 10:20:58 -07:00 committed by Greg Kroah-Hartman
parent 64886498b2
commit 42dafac3a5

View File

@ -314,7 +314,6 @@ struct pcl818_private {
unsigned int ns_min; /* manimal allowed delay between samples (in us) for actual card */ unsigned int ns_min; /* manimal allowed delay between samples (in us) for actual card */
int i8253_osc_base; /* 1/frequency of on board oscilator in ns */ int i8253_osc_base; /* 1/frequency of on board oscilator in ns */
int ai_act_scan; /* how many scans we finished */ int ai_act_scan; /* how many scans we finished */
int ai_act_chan; /* actual position in actual scan */
unsigned int act_chanlist[16]; /* MUX setting for actual AI operations */ unsigned int act_chanlist[16]; /* MUX setting for actual AI operations */
unsigned int act_chanlist_len; /* how long is actual MUX list */ unsigned int act_chanlist_len; /* how long is actual MUX list */
unsigned int act_chanlist_pos; /* actual position in MUX list */ unsigned int act_chanlist_pos; /* actual position in MUX list */
@ -824,7 +823,6 @@ static int pcl818_ai_cmd(struct comedi_device *dev,
devpriv->ai_data_len = s->async->prealloc_bufsz; devpriv->ai_data_len = s->async->prealloc_bufsz;
devpriv->ai_act_scan = cmd->stop_arg; devpriv->ai_act_scan = cmd->stop_arg;
devpriv->ai_act_chan = 0;
devpriv->ai_cmd_running = 1; devpriv->ai_cmd_running = 1;
devpriv->ai_cmd_canceled = 0; devpriv->ai_cmd_canceled = 0;
devpriv->act_chanlist_pos = 0; devpriv->act_chanlist_pos = 0;