]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: addi_apci_3120: remove unused struct definition
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 Oct 2014 18:34:10 +0000 (11:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 07:58:35 +0000 (15:58 +0800)
The struct str_AnalogReadInformation is not used in this driver.
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>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c

index 7ed04b6923013f9ef646362b72a6c91d2505838f..e7cb66f557eeb8fd32fc72034bb86a84f9ef517a 100644 (file)
@@ -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, {