staging: comedi: ni_stc.h: remove n_ni_boards macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 5 Mar 2013 17:21:03 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 17:05:21 +0000 (10:05 -0700)
This macro is not used, 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_stc.h

index 368d46831c1349ebf9f56afba1e546b691bb2ff9..0a613c07760843b36a7eb612372a223a78158f56 100644 (file)
@@ -1421,8 +1421,6 @@ struct ni_board_struct {
        enum caldac_enum caldac[3];
 };
 
-#define n_ni_boards  (sizeof(ni_boards)/sizeof(struct ni_board_struct))
-
 #define MAX_N_AO_CHAN 8
 #define NUM_GPCT 2