mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
staging: comedi: pcl818: remove 'ai_flags' from private data
This member of the private data is not 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
7c2686b5a5
commit
0f536336e4
1 changed files with 0 additions and 2 deletions
|
|
@ -342,7 +342,6 @@ struct pcl818_private {
|
|||
unsigned int act_chanlist_len; /* how long is actual MUX list */
|
||||
unsigned int act_chanlist_pos; /* actual position in MUX list */
|
||||
unsigned int *ai_chanlist; /* actaul chanlist */
|
||||
unsigned int ai_flags; /* flaglist */
|
||||
unsigned int ai_data_len; /* len of data buffer */
|
||||
unsigned int ai_timer1; /* timers */
|
||||
unsigned int ai_timer2;
|
||||
|
|
@ -1118,7 +1117,6 @@ static int ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
|
|||
int retval;
|
||||
|
||||
devpriv->ai_chanlist = cmd->chanlist;
|
||||
devpriv->ai_flags = cmd->flags;
|
||||
devpriv->ai_data_len = s->async->prealloc_bufsz;
|
||||
devpriv->ai_timer1 = 0;
|
||||
devpriv->ai_timer2 = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue