From: H Hartley Sweeten Date: Tue, 5 Mar 2013 17:18:04 +0000 (-0700) Subject: staging: comedi: ni_pcidio: remove n_ndio_boards macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e69e860ef2f05df0f8f31854f8b353b9a52e85e7;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git staging: comedi: ni_pcidio: remove n_ndio_boards macro This macro is not used in the driver. Remove it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_pcidio.c b/drivers/staging/comedi/drivers/ni_pcidio.c index 2c7538bae23..01da281e32e 100644 --- a/drivers/staging/comedi/drivers/ni_pcidio.c +++ b/drivers/staging/comedi/drivers/ni_pcidio.c @@ -304,7 +304,6 @@ static const struct nidio_board nidio_boards[] = { }, }; -#define n_nidio_boards ARRAY_SIZE(nidio_boards) #define this_board ((const struct nidio_board *)dev->board_ptr) struct nidio96_private {