summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-03-05 10:15:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 10:03:33 -0700
commit8f5d4e0385c160a7442b9288f4ac2fbc8d44fe6e (patch)
tree06d946c3ee8ca7ceb919a849463db19536a765fa
parent7fd80eb0aa4183a2f950f5d34dfcc47812f83371 (diff)
staging: comedi: ni_65xx: remove n_ni_65xx_boards macro
This macro is not used in the driver. Remove it. 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/ni_65xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/ni_65xx.c b/drivers/staging/comedi/drivers/ni_65xx.c
index 747f7700875b..9d824c59123a 100644
--- a/drivers/staging/comedi/drivers/ni_65xx.c
+++ b/drivers/staging/comedi/drivers/ni_65xx.c
@@ -242,8 +242,6 @@ static const struct ni_65xx_board ni_65xx_boards[] = {
},
};
-#define n_ni_65xx_boards ARRAY_SIZE(ni_65xx_boards)
-
static inline unsigned ni_65xx_port_by_channel(unsigned channel)
{
return channel / ni_65xx_channels_per_port;