Skip to content

Commit

Permalink
staging: comedi: ni_stc.h: remove n_ni_boards macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Mar 11, 2013
1 parent 6293e35 commit f5a1d92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/comedi/drivers/ni_stc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f5a1d92

Please sign in to comment.