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 rtw_softc variables and some other ...



details:   https://anonhg.NetBSD.org/src/rev/9f4475639225
branches:  trunk
changeset: 572292:9f4475639225
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Dec 29 01:11:24 2004 +0000

description:
Remove unused rtw_softc variables and some other dead code.

diffstat:

 sys/dev/ic/rtwvar.h |  16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diffs (44 lines):

diff -r 2928fb688d35 -r 9f4475639225 sys/dev/ic/rtwvar.h
--- a/sys/dev/ic/rtwvar.h       Wed Dec 29 01:06:52 2004 +0000
+++ b/sys/dev/ic/rtwvar.h       Wed Dec 29 01:11:24 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtwvar.h,v 1.15 2004/12/29 01:06:52 dyoung Exp $ */
+/* $NetBSD: rtwvar.h,v 1.16 2004/12/29 01:11:24 dyoung Exp $ */
 /*-
  * Copyright (c) 2004, 2005 David Young.  All rights reserved.
  *
@@ -71,15 +71,6 @@
 #define        DPRINTF(__sc, __flags, __x)
 #endif /* RTW_DEBUG */
 
-#if 0
-enum rtw_rftype {
-       RTW_RFTYPE_INTERSIL = 0,
-       RTW_RFTYPE_RFMD,
-       RTW_RFTYPE_PHILIPS,
-       RTW_RFTYPE_MAXIM
-};
-#endif
-
 enum rtw_locale {
        RTW_LOCALE_USA = 0,
        RTW_LOCALE_EUROPE,
@@ -385,9 +376,6 @@
        bus_dma_tag_t           sc_dmat;
        u_int32_t               sc_flags;
 
-#if 0
-       enum rtw_rftype         sc_rftype;
-#endif
        enum rtw_attach_state   sc_attach_state;
        enum rtw_rfchipid       sc_rfchipid;
        enum rtw_locale         sc_locale;
@@ -395,8 +383,6 @@
 
        /* s/w Tx/Rx descriptors */
        struct rtw_txsoft_blk   sc_txsoft_blk[RTW_NTXPRI];
-       u_int                   sc_txq;
-       u_int                   sc_txnext;
        struct rtw_txdesc_blk   sc_txdesc_blk[RTW_NTXPRI];
 
        struct rtw_rxsoft       sc_rxsoft[RTW_RXQLEN];



Home | Main Index | Thread Index | Old Index