svn commit: r236995 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Wed Jun 13 05:47:25 UTC 2012


Author: adrian
Date: Wed Jun 13 05:47:24 2012
New Revision: 236995
URL: http://svn.freebsd.org/changeset/base/236995

Log:
  Remove a duplicate definition.

Modified:
  head/sys/dev/ath/if_ath_tx_ht.c

Modified: head/sys/dev/ath/if_ath_tx_ht.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_ht.c	Wed Jun 13 05:41:00 2012	(r236994)
+++ head/sys/dev/ath/if_ath_tx_ht.c	Wed Jun 13 05:47:24 2012	(r236995)
@@ -438,7 +438,6 @@ static void
 ath_rateseries_setup(struct ath_softc *sc, struct ieee80211_node *ni,
     struct ath_buf *bf, HAL_11N_RATE_SERIES *series)
 {
-#define	HT_RC_2_STREAMS(_rc)	((((_rc) & 0x78) >> 3) + 1)
 	struct ieee80211com *ic = ni->ni_ic;
 	struct ath_hal *ah = sc->sc_ah;
 	HAL_BOOL shortPreamble = AH_FALSE;
@@ -528,7 +527,6 @@ ath_rateseries_setup(struct ath_softc *s
 			    rt, pktlen, rc[i].rix, shortPreamble);
 		}
 	}
-#undef	HT_RC_2_STREAMS
 }
 
 #if 0


More information about the svn-src-head mailing list