staging: comedi: rtd520: remove RtdDelayCount macro
authorH Hartley Sweeten <[email protected]>
Tue, 10 Jul 2012 23:58:19 +0000 (16:58 -0700)
committerGreg Kroah-Hartman <[email protected]>
Fri, 13 Jul 2012 15:12:28 +0000 (08:12 -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 0e3196f307349902abe8df17c2d4501793d180f8..d0b76a52bafb83c87927478ce70568c128071933 100644 (file)
@@ -407,8 +407,6 @@ struct rtdPrivate {
 /* Macros to access registers */
 
 /* Delay counter, 16bit */
-#define RtdDelayCount(dev) \
-       readl(devpriv->las0+LAS0_DCLK)
 #define RtdDelayCounter(dev, v) \
        writel((v) & 0xffff, devpriv->las0+LAS0_DCLK)