adc: adc_dw: Remove dead code related to undefined Kconfig symbols

CONFIG_ADC_DW_REPETITIVE and CONFIG_ADC_DW_DUMMY_CONVERSION aren't
defined anywhere so remove the associated code for these Kconfig
symbols.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-11-09 05:15:11 -06:00 committed by Anas Nashif
parent 765c39188b
commit c0a3c6d4fc

View File

@ -197,10 +197,6 @@ struct adc_info {
u32_t channels;
u32_t channel_id;
#ifdef CONFIG_ADC_DW_REPETITIVE
/**Current reception buffer index*/
u8_t index[BUFS_NUM];
#endif
/**Sequence entries' array*/
const struct adc_sequence *entries;
/**State of execution of the driver*/
@ -211,9 +207,6 @@ struct adc_info {
/**Calibration value*/
u8_t calibration_value;
#endif
#ifdef CONFIG_ADC_DW_DUMMY_CONVERSION
u8_t dummy_conversion;
#endif
};