From: H Hartley Sweeten Date: Tue, 5 Mar 2013 17:21:03 +0000 (-0700) Subject: staging: comedi: ni_stc.h: remove n_ni_boards macro X-Git-Tag: v3.10-rc1~192^2~695 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5a1d92bf6f4fa063d5ea43613f43494896e333f;p=platform%2Fupstream%2Fkernel-adaptation-pc.git staging: comedi: ni_stc.h: remove n_ni_boards macro This macro is not used, 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_stc.h b/drivers/staging/comedi/drivers/ni_stc.h index 368d468..0a613c0 100644 --- a/drivers/staging/comedi/drivers/ni_stc.h +++ b/drivers/staging/comedi/drivers/ni_stc.h @@ -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