This is unused within the aic79xx code.
aic79xx.c:93:20: error: unused variable 'num_chip_names'
[-Werror,-Wunused-const-variable]
OK?
Index: aic79xx.c
===================================================================
RCS file: /home/cvs/src/sys/dev/ic/aic79xx.c,v
retrieving revision 1.51
diff -u -p -r1.51 aic79xx.c
--- aic79xx.c 30 May 2013 16:15:02 -0000 1.51
+++ aic79xx.c 3 Dec 2013 22:21:40 -0000
@@ -90,7 +90,6 @@ char *ahd_chip_names[] =
"aic7902",
"aic7901A"
};
-static const u_int num_chip_names = NUM_ELEMENTS(ahd_chip_names);
/*
* Hardware error codes.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.