The struct str_AnalogReadInformation is not used in this driver.
Remove it.

Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 .../staging/comedi/drivers/addi-data/hwdrv_apci3120.c   | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c 
b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c
index 7ed04b6..e7cb66f 100644
--- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c
+++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c
@@ -200,23 +200,6 @@ This program is distributed in the hope that it will be 
useful, but WITHOUT ANY
                                         APCI3120_DISABLE_TIMER1 &      \
                                         APCI3120_DISABLE_TIMER2)
 
-#define MAX_ANALOGINPUT_CHANNELS       32
-
-struct str_AnalogReadInformation {
-       /* EOC or EOS */
-       unsigned char b_Type;
-       /* Interrupt use or not */
-       unsigned char b_InterruptFlag;
-       /* Selection of the conversion time */
-       unsigned int ui_ConvertTiming;
-       /* Number of channel to read */
-       unsigned char b_NbrOfChannel;
-       /* Number of the channel to be read */
-       unsigned int ui_ChannelList[MAX_ANALOGINPUT_CHANNELS];
-       /* Gain of each channel */
-       unsigned int ui_RangeList[MAX_ANALOGINPUT_CHANNELS];
-};
-
 /* ANALOG INPUT RANGE */
 static const struct comedi_lrange range_apci3120_ai = {
        8, {
-- 
2.0.3

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to