mac80211: RMC buckets are just list heads

The array of rmc_entrys is redundant since only the
list_head is used. Make this an array of list_heads
instead and save ~6k per vif at runtime :D

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Thomas Pedersen
2012-12-17 18:41:57 -08:00
committed by Johannes Berg
parent 4d76d21bd7
commit b7cfcd113a
2 changed files with 5 additions and 5 deletions

View File

@@ -184,7 +184,7 @@ struct rmc_entry {
};
struct mesh_rmc {
struct rmc_entry bucket[RMC_BUCKETS];
struct list_head bucket[RMC_BUCKETS];
u32 idx_mask;
};