Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/682217dce2c1
branches:  trunk
changeset: 546175:682217dce2c1
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Apr 21 22:00:42 2003 +0000

description:
Remove unused variable.

diffstat:

 sys/dev/ic/aic79xx.c |  3 +--
 sys/dev/ic/aic7xxx.c |  5 ++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 92e933ae175f -r 682217dce2c1 sys/dev/ic/aic79xx.c
--- a/sys/dev/ic/aic79xx.c      Mon Apr 21 21:49:31 2003 +0000
+++ b/sys/dev/ic/aic79xx.c      Mon Apr 21 22:00:42 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic79xx.c,v 1.2 2003/04/21 21:49:31 fvdl Exp $ */
+/*     $NetBSD: aic79xx.c,v 1.3 2003/04/21 22:00:44 fvdl Exp $ */
 
 /*
  * Core routines and tables shareable across OS platforms.
@@ -67,7 +67,6 @@
        "aic7902",
        "aic7901A"
 };
-static const u_int num_chip_names = NUM_ELEMENTS(ahd_chip_names);
 
 /*
  * Hardware error codes.
diff -r 92e933ae175f -r 682217dce2c1 sys/dev/ic/aic7xxx.c
--- a/sys/dev/ic/aic7xxx.c      Mon Apr 21 21:49:31 2003 +0000
+++ b/sys/dev/ic/aic7xxx.c      Mon Apr 21 22:00:42 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic7xxx.c,v 1.101 2003/04/21 21:45:59 fvdl Exp $       */
+/*     $NetBSD: aic7xxx.c,v 1.102 2003/04/21 22:00:42 fvdl Exp $       */
 
 /*
  * Core routines and tables shareable across OS platforms.
@@ -39,7 +39,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGES.
  *
- * $Id: aic7xxx.c,v 1.101 2003/04/21 21:45:59 fvdl Exp $
+ * $Id: aic7xxx.c,v 1.102 2003/04/21 22:00:42 fvdl Exp $
  *
  * //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $
  *
@@ -74,7 +74,6 @@
        "aic7892",
        "aic7899"
 };
-static const u_int num_chip_names = NUM_ELEMENTS(ahc_chip_names);
 
 /*
  * Hardware error codes.



Home | Main Index | Thread Index | Old Index