staging: comedi: rtd520: remove RtdDma0LocalAddr macro
authorH Hartley Sweeten <[email protected]>
Wed, 11 Jul 2012 00:15:28 +0000 (17:15 -0700)
committerGreg Kroah-Hartman <[email protected]>
Sun, 15 Jul 2012 23:59:21 +0000 (16:59 -0700)
This macro uses the 'devpriv' macro which relies on a local variable
having a specific name. It's also not used. Remove the macro.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/comedi/drivers/rtd520.c

index cf5deac01210f59d28fc16363913b52f3814d2c5..3aa7a39f67ae14a97b9b7e3f6ab315d618e8633c 100644 (file)
@@ -406,10 +406,6 @@ struct rtdPrivate {
 
 /* Macros to access registers */
 
-/* Set local address for DMA 0 */
-#define RtdDma0LocalAddr(dev, a) \
-       writel((a), devpriv->lcfg+LCFG_DMALADR0)
-
 /* Set byte count for DMA 0 */
 #define RtdDma0Count(dev, c) \
        writel((c), devpriv->lcfg+LCFG_DMASIZ0)