mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
staging: comedi: ni_65xx: remove n_ni_65xx_boards macro
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7fd80eb0aa
commit
8f5d4e0385
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user