]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: ni_65xx: remove n_ni_65xx_boards macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 5 Mar 2013 17:15:15 +0000 (10:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 17:03:33 +0000 (10:03 -0700)
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>
drivers/staging/comedi/drivers/ni_65xx.c

index 747f7700875b1b3ab3c47def80472b0e4cfde9ce..9d824c59123ae79f5fb8a938465d21d6931045a1 100644 (file)
@@ -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;