staging: comedi: rtd520: remove RtdPacerTriggerMode macro
authorH Hartley Sweeten <[email protected]>
Tue, 10 Jul 2012 23:47:46 +0000 (16:47 -0700)
committerGreg Kroah-Hartman <[email protected]>
Fri, 13 Jul 2012 15:12:24 +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 it.

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 0f1ee3fb99ddffbe7b373c0caba69adf07112ad3..f3fea5ab87a009bc671be4a0cfa7bfbc88bc6224 100644 (file)
@@ -406,10 +406,6 @@ struct rtdPrivate {
 
 /* Macros to access registers */
 
-/* Set Pacer trigger mode select (write only) 0=single cycle, 1=repeat */
-#define RtdPacerTriggerMode(dev, v) \
-       writel((v > 0) ? 1 : 0, devpriv->las0+LAS0_PACER_REPEAT)
-
 /* Set About counter stop enable (write only) */
 #define RtdAboutStopEnable(dev, v) \
        writel((v > 0) ? 1 : 0, devpriv->las0+LAS0_ACNT_STOP_ENABLE)