浏览代码

[MAC80211]: kill vlan_id

Each station has a vlan_id that is useless. Remove it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Johannes Berg 17 年之前
父节点
当前提交
d86ec781ef
共有 2 个文件被更改,包括 0 次插入3 次删除
  1. 0 1
      net/mac80211/debugfs_sta.c
  2. 0 2
      net/mac80211/sta_info.h

+ 0 - 1
net/mac80211/debugfs_sta.c

@@ -61,7 +61,6 @@ static const struct file_operations sta_ ##name## _ops = {		\
 
 STA_FILE(aid, aid, D);
 STA_FILE(dev, dev->name, S);
-STA_FILE(vlan_id, vlan_id, D);
 STA_FILE(rx_packets, rx_packets, LU);
 STA_FILE(tx_packets, tx_packets, LU);
 STA_FILE(rx_bytes, rx_bytes, LU);

+ 0 - 2
net/mac80211/sta_info.h

@@ -97,8 +97,6 @@ struct sta_info {
 	unsigned int wme_tx_queue[NUM_RX_DATA_QUEUES];
 #endif /* CONFIG_MAC80211_DEBUG_COUNTERS */
 
-	int vlan_id;
-
 	u16 listen_interval;
 
 #ifdef CONFIG_MAC80211_DEBUGFS