projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30dadbd
)
staging: comedi: dt282x: remove unused chan_to_DAC() macro
author
H Hartley Sweeten
<
[email protected]
>
Fri, 20 Jun 2014 20:12:44 +0000
(13:12 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 27 Jun 2014 00:08:19 +0000
(20:08 -0400)
This macro is not used in the driver. Remove it.
Signed-off-by: H Hartley Sweeten <
[email protected]
>
Reviewed-by: Ian Abbott <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/comedi/drivers/dt282x.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/dt282x.c
b/drivers/staging/comedi/drivers/dt282x.c
index 2e1c615c8105b8f23b713f9ce7766f29ea197ce9..9527adf73ece4ae755083d88fb8da12070e96368 100644
(file)
--- 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;