From: Shan Wei Date: Wed, 15 Dec 2010 06:27:28 +0000 (+0800) Subject: wireless:mac80211: kill unuse macro MESH_CFG_CMP_LEN in mesh.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38cd6b4f52a75926fd81fc85f53f5067dcd809f7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git wireless:mac80211: kill unuse macro MESH_CFG_CMP_LEN in mesh.h Commit 00d3f14c has removed the references of this macro, but left it only. So remove this definition. commit 00d3f14cf9f12c21428121026a5e1d5f65926447 Author: Johannes Berg Date: Tue Feb 10 21:26:00 2009 +0100 mac80211: use cfg80211s BSS infrastructure Remove all the code from mac80211 to keep track of BSSes and use the cfg80211-provided code completely. Signed-off-by: Shan Wei Signed-off-by: John W. Linville --- diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 039d7fa0af74..5b828fa8c541 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h @@ -164,17 +164,6 @@ struct mesh_rmc { }; -/* - * MESH_CFG_COMP_LEN Includes: - * - Active path selection protocol ID. - * - Active path selection metric ID. - * - Congestion control mode identifier. - * - Channel precedence. - * Does not include mesh capabilities, which may vary across nodes in the same - * mesh - */ -#define MESH_CFG_CMP_LEN (IEEE80211_MESH_CONFIG_LEN - 2) - #define MESH_DEFAULT_BEACON_INTERVAL 1000 /* in 1024 us units */ #define MESH_PATH_EXPIRE (600 * HZ)