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-Tag: Ubuntu-5.13.0-19.19~19670^2~1541 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6ee9c91fbbcf9e29951fb741492b5e9e6b6ac0ef;p=mirror_ubuntu-jammy-kernel.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;