From: H Hartley Sweeten Date: Fri, 20 Jun 2014 20:12:44 +0000 (-0700) Subject: staging: comedi: dt282x: remove unused chan_to_DAC() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ee9c91fbbcf9e29951fb741492b5e9e6b6ac0ef;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: comedi: dt282x: remove unused chan_to_DAC() macro This macro is not used in the 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/dt282x.c b/drivers/staging/comedi/drivers/dt282x.c index 2e1c615c8105..9527adf73ece 100644 --- a/drivers/staging/comedi/drivers/dt282x.c +++ b/drivers/staging/comedi/drivers/dt282x.c @@ -345,11 +345,6 @@ struct dt282x_private { int dma_dir; }; -/* - * Some useless abstractions - */ -#define chan_to_DAC(a) ((a)&1) - static int prep_ai_dma(struct comedi_device *dev, int dma_index, int n) { struct dt282x_private *devpriv = dev->private;