Remove IWN_FLAG_HAS_5GHZ and IWN_PCI_BAR0, both unused.
This commit is contained in:
parent
727c7b2d66
commit
abd8979b98
@ -1792,7 +1792,6 @@ iwn_read_eeprom_band(struct iwn_softc *sc, int n)
|
||||
c->ic_freq = ieee80211_ieee2mhz(chan,
|
||||
IEEE80211_CHAN_A);
|
||||
c->ic_flags = IEEE80211_CHAN_A | nflags;
|
||||
sc->sc_flags |= IWN_FLAG_HAS_5GHZ;
|
||||
}
|
||||
#if 0 /* HT */
|
||||
/* XXX no constraints on using HT20 */
|
||||
|
@ -50,9 +50,6 @@
|
||||
#define IWN_HIADDR(paddr) (0)
|
||||
#endif
|
||||
|
||||
/* Base Address Register. */
|
||||
#define IWN_PCI_BAR0 PCI_MAPREG_START
|
||||
|
||||
/*
|
||||
* Control and status registers.
|
||||
*/
|
||||
|
@ -215,7 +215,6 @@ struct iwn_softc {
|
||||
struct resource *irq;
|
||||
|
||||
u_int sc_flags;
|
||||
#define IWN_FLAG_HAS_5GHZ (1 << 0)
|
||||
#define IWN_FLAG_HAS_OTPROM (1 << 1)
|
||||
#define IWN_FLAG_CALIB_DONE (1 << 2)
|
||||
#define IWN_FLAG_USE_ICT (1 << 3)
|
||||
|
Loading…
Reference in New Issue
Block a user