From: Ian Abbott Date: Tue, 29 Jul 2014 11:58:15 +0000 (+0100) Subject: staging: comedi: amplc_pci230: remove unused settling time constants X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ad501004d61f542c7cc5fce965e407dc05e2cbda;p=deliverable%2Flinux.git staging: comedi: amplc_pci230: remove unused settling time constants The macro constants `PCI230_DAC_SETTLE`, `PCI230_ADC_SETTLE` and `PCI230_MUX_SETTLE` are never used. Just remove them. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/amplc_pci230.c b/drivers/staging/comedi/drivers/amplc_pci230.c index 00d7a2277e85..7983a0d53928 100644 --- a/drivers/staging/comedi/drivers/amplc_pci230.c +++ b/drivers/staging/comedi/drivers/amplc_pci230.c @@ -246,19 +246,6 @@ #define PCI230P2_DACSWTRIG 0x02 /* DAC soft trigger (FIFO mode) (r) */ #define PCI230P2_DACEN 0x06 /* DAC channel enable (FIFO mode) */ -/* - * Convertor related constants. - */ -/* Analogue output settling time in µs (DAC itself is 1µs nominally). */ -#define PCI230_DAC_SETTLE 5 -/* - * Analogue input settling time in µs (ADC itself is 1.6µs nominally but we - * poll anyway). - */ -#define PCI230_ADC_SETTLE 1 -/* ADC MUX settling time in µS - 10µs for se, 20µs de. */ -#define PCI230_MUX_SETTLE 10 - /* * DACCON read-write values. */