From c0a3c6d4fc1ced1d872ba2cd74a4afcdc92f2cb7 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 9 Nov 2018 05:15:11 -0600 Subject: [PATCH] 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 --- drivers/adc/adc_dw.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/adc/adc_dw.h b/drivers/adc/adc_dw.h index 2830b46c27a..264a7937535 100644 --- a/drivers/adc/adc_dw.h +++ b/drivers/adc/adc_dw.h @@ -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 };