staging: comedi: rtd520: remove RtdDma0Count macro
authorH Hartley Sweeten <[email protected]>
Wed, 11 Jul 2012 00:17:45 +0000 (17:17 -0700)
committerGreg Kroah-Hartman <[email protected]>
Sun, 15 Jul 2012 23:59:22 +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 3aa7a39f67ae14a97b9b7e3f6ab315d618e8633c..c3400ea3a7fc1d8b2b6342a8389550e385769095 100644 (file)
@@ -406,10 +406,6 @@ struct rtdPrivate {
 
 /* Macros to access registers */
 
-/* Set byte count for DMA 0 */
-#define RtdDma0Count(dev, c) \
-       writel((c), devpriv->lcfg+LCFG_DMASIZ0)
-
 /* Set next descriptor for DMA 0 */
 #define RtdDma0Next(dev, a) \
        writel((a), devpriv->lcfg+LCFG_DMADPR0)