forked from luck/tmp_suning_uos_patched
mac80211: remove a bit of dead mesh code
In a file that's only built when CONFIG_MAC80211_MESH is defined, having an #ifdef on the same is entirely pointless, so remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
051007d9e2
commit
10ff57f98d
|
@ -20,16 +20,11 @@
|
|||
int mesh_allocated;
|
||||
static struct kmem_cache *rm_cache;
|
||||
|
||||
#ifdef CONFIG_MAC80211_MESH
|
||||
bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt)
|
||||
{
|
||||
return (mgmt->u.action.u.mesh_action.action_code ==
|
||||
WLAN_MESH_ACTION_HWMP_PATH_SELECTION);
|
||||
}
|
||||
#else
|
||||
bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt)
|
||||
{ return false; }
|
||||
#endif
|
||||
|
||||
void ieee80211s_init(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user