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

staging: comedi: icp_multi: remove unused members from private data

These members are either not used at all or they are set but never
used. Just remove them.
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 c2a6e057
...@@ -97,11 +97,6 @@ struct icp_multi_private { ...@@ -97,11 +97,6 @@ struct icp_multi_private {
unsigned int DacCmdStatus; /* DAC Command/Status register */ unsigned int DacCmdStatus; /* DAC Command/Status register */
unsigned int IntEnable; /* Interrupt Enable register */ unsigned int IntEnable; /* Interrupt Enable register */
unsigned int IntStatus; /* Interrupt Status register */ unsigned int IntStatus; /* Interrupt Status register */
unsigned int act_chanlist[32]; /* list of scanned channel */
unsigned char act_chanlist_len; /* len of scanlist */
unsigned char act_chanlist_pos; /* actual position in MUX list */
unsigned int *ai_chanlist; /* actaul chanlist */
unsigned int do_data; /* Remember digital output data */
}; };
static void setup_channel_list(struct comedi_device *dev, static void setup_channel_list(struct comedi_device *dev,
...@@ -112,9 +107,6 @@ static void setup_channel_list(struct comedi_device *dev, ...@@ -112,9 +107,6 @@ static void setup_channel_list(struct comedi_device *dev,
unsigned int i, range, chanprog; unsigned int i, range, chanprog;
unsigned int diff; unsigned int diff;
devpriv->act_chanlist_len = n_chan;
devpriv->act_chanlist_pos = 0;
for (i = 0; i < n_chan; i++) { for (i = 0; i < n_chan; i++) {
/* Get channel */ /* Get channel */
chanprog = CR_CHAN(chanlist[i]); chanprog = CR_CHAN(chanlist[i]);
......
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