Skip to contentSkip to conversation

ar9170: remove redundant frame flags

PATCH In review Christian Lamparter 1 participant 1 message Nov 28, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 ar9170: remove redundant frame flags

The flags in question were once useful for debugging. Time has passed and now they do nothing more than duplicating txinfo->flags.

---

drivers/net/wireless/ath/ar9170/ar9170.h +0 -5
index 44c54b8..b99a8c2 100644
@@ -248,13 +248,8 @@ struct ar9170_sta_info {
 	unsigned int ampdu_max_len;
 };
 
-#define AR9170_TX_FLAG_WAIT_FOR_ACK	BIT(0)
-#define AR9170_TX_FLAG_NO_ACK		BIT(1)
-#define AR9170_TX_FLAG_BLOCK_ACK	BIT(2)
-
 struct ar9170_tx_info {
 	unsigned long timeout;
-	unsigned int flags;
 };
 
 #define IS_STARTED(a)		(((struct ar9170 *)a)->state >= AR9170_STARTED)
drivers/net/wireless/ath/ar9170/main.c +22 -33

97 lines not on this page · raw message