diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-08 00:52:39 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 08:56:42 +0300 |
| commit | fc7680d11b874addb345d682d927b7768534998d (patch) | |
| tree | 3558206c72888d5bcdc72355526bf596af063e58 | |
| parent | c2a6e057d3bd462bf8f529da484c6baf4a5d63b0 (diff) | |
| download | linux-fc7680d11b874addb345d682d927b7768534998d.tar.xz | |
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: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/comedi/drivers/icp_multi.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/comedi/drivers/icp_multi.c b/drivers/staging/comedi/drivers/icp_multi.c index 0d6fd99dc217..fbcaa2d6baeb 100644 --- a/drivers/staging/comedi/drivers/icp_multi.c +++ b/drivers/staging/comedi/drivers/icp_multi.c @@ -97,11 +97,6 @@ struct icp_multi_private { unsigned int DacCmdStatus; /* DAC Command/Status register */ unsigned int IntEnable; /* Interrupt Enable 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, @@ -112,9 +107,6 @@ static void setup_channel_list(struct comedi_device *dev, unsigned int i, range, chanprog; unsigned int diff; - devpriv->act_chanlist_len = n_chan; - devpriv->act_chanlist_pos = 0; - for (i = 0; i < n_chan; i++) { /* Get channel */ chanprog = CR_CHAN(chanlist[i]); |
