qcacmn: Remove unused field - is_bss

Remove unused field is_bss from AST
stats which is not serving any purpose

Change-Id: I5f63d9a027b5390802fab13ceab9d7d219a81e5a
This commit is contained in:
phadiman 2019-07-03 18:14:45 +05:30 • committed by nshrivas
commit 4dc5e1f636
2 changed files with 23 additions and 27 deletions

View file

@ -1039,32 +1039,29 @@ void dp_print_ast_stats(struct dp_soc *soc)
DP_PDEV_ITERATE_VDEV_LIST(pdev, vdev) {
DP_VDEV_ITERATE_PEER_LIST(vdev, peer) {
DP_PEER_ITERATE_ASE_LIST(peer, ase, tmp_ase) {
DP_PRINT_STATS("%6d mac_addr = %pM",
++num_entries,
ase->mac_addr.raw);
DP_PRINT_STATS(" peer_mac_addr = %pM",
ase->peer->mac_addr.raw);
DP_PRINT_STATS(" peer_id = %u",
ase->peer->peer_ids[0]);
DP_PRINT_STATS(" type = %s",
type[ase->type]);
DP_PRINT_STATS(" next_hop = %d",
ase->next_hop);
DP_PRINT_STATS(" is_active = %d",
ase->is_active);
DP_PRINT_STATS(" is_bss = %d",
ase->is_bss);
DP_PRINT_STATS(" ast_idx = %d",
ase->ast_idx);
DP_PRINT_STATS(" ast_hash = %d",
ase->ast_hash_value);
DP_PRINT_STATS("delete_in_progress= %d",
ase->delete_in_progress
);
DP_PRINT_STATS(" pdev_id = %d",
ase->pdev_id);
DP_PRINT_STATS(" vdev_id = %d",
ase->vdev_id);
DP_PRINT_STATS("%6d mac_addr = %pM"
" peer_mac_addr = %pM"
" peer_id = %u"
" type = %s"
" next_hop = %d"
" is_active = %d"
" ast_idx = %d"
" ast_hash = %d"
" delete_in_progress = %d"
" pdev_id = %d"
" vdev_id = %d",
++num_entries,
ase->mac_addr.raw,
ase->peer->mac_addr.raw,
ase->peer->peer_ids[0],
type[ase->type],
ase->next_hop,
ase->is_active,
ase->ast_idx,
ase->ast_hash_value,
ase->delete_in_progress,
ase->pdev_id,
ase->vdev_id);
}
}
}

View file

@ -789,7 +789,6 @@ struct dp_ast_entry {
struct dp_peer *peer;
bool next_hop;
bool is_active;
bool is_bss;
bool is_mapped;
uint8_t pdev_id;
uint8_t vdev_id;