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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
30dadbd208
commit
6ee9c91fbb
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue