Skip to content

Commit

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

0 comments on commit 8f5d4e0

Please sign in to comment.