summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-07-10 16:59:16 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-13 08:12:29 -0700
commit50399017ea9a27db1133feba86b518562266f924 (patch)
tree04c81b6dd5e0b63daf5279b65ec7f1af97aeafa0
parent945e398411f76a7ffbecf8905d8a455c403251cf (diff)
downloadblackbird-op-linux-50399017ea9a27db1133feba86b518562266f924.tar.gz
blackbird-op-linux-50399017ea9a27db1133feba86b518562266f924.zip
staging: comedi: rtd520: remove RtdAboutCount macro
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/comedi/drivers/rtd520.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c
index b6e2c3ecfb5a..9c0236b68486 100644
--- a/drivers/staging/comedi/drivers/rtd520.c
+++ b/drivers/staging/comedi/drivers/rtd520.c
@@ -407,8 +407,6 @@ struct rtdPrivate {
/* Macros to access registers */
/* About counter, 16bit */
-#define RtdAboutCount(dev) \
- readl(devpriv->las0+LAS0_ACNT)
#define RtdAboutCounter(dev, v) \
writel((v) & 0xffff, devpriv->las0+LAS0_ACNT)
OpenPOWER on IntegriCloud