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 747f770..9d824c5 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;