svn commit: r206475 - head/sys/dev/iwn

Bernhard Schmidt bschmidt at FreeBSD.org
Sun Apr 11 13:47:46 UTC 2010


Author: bschmidt
Date: Sun Apr 11 13:47:46 2010
New Revision: 206475
URL: http://svn.freebsd.org/changeset/base/206475

Log:
  iwn5000_reset_sched() is not used; #ifdef it.
  
  Approved by:	rpaulo (mentor)
  MFC after:	2 weeks

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Sun Apr 11 13:46:42 2010	(r206474)
+++ head/sys/dev/iwn/if_iwn.c	Sun Apr 11 13:47:46 2010	(r206475)
@@ -155,7 +155,9 @@ void		iwn4965_update_sched(struct iwn_so
 		    uint16_t);
 void		iwn5000_update_sched(struct iwn_softc *, int, int, uint8_t,
 		    uint16_t);
+#ifdef notyet
 void		iwn5000_reset_sched(struct iwn_softc *, int, int);
+#endif
 static uint8_t	iwn_plcp_signal(int);
 int		iwn_tx_data(struct iwn_softc *, struct mbuf *,
 		    struct ieee80211_node *, struct iwn_tx_ring *);
@@ -2818,6 +2820,7 @@ iwn5000_update_sched(struct iwn_softc *s
 	}
 }
 
+#ifdef notyet
 void
 iwn5000_reset_sched(struct iwn_softc *sc, int qid, int idx)
 {
@@ -2832,6 +2835,7 @@ iwn5000_reset_sched(struct iwn_softc *sc
 		    BUS_DMASYNC_PREWRITE);
 	}
 }
+#endif
 
 static uint8_t
 iwn_plcp_signal(int rate) {


More information about the svn-src-head mailing list