From: H Hartley Sweeten Date: Mon, 20 Oct 2014 18:34:10 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove unused struct definition X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=99940229e58b98c30c7d570d36cd77ed9cf29d90;p=linux-beck.git staging: comedi: addi_apci_3120: remove unused struct definition The struct str_AnalogReadInformation is not used in this driver. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c index 7ed04b692301..e7cb66f557ee 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, {