]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: drop constant field mean_chain_len
authorBob Copeland <me@bobcopeland.com>
Sat, 30 Jan 2016 18:17:03 +0000 (13:17 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:29 +0000 (09:04 +0100)
commit9dd80817415dfaeb0c2bee0c1c8bae69216e3824
tree0a06be161738014422f29947fbcd5a7a9f88c74b
parentcbef21258d1d62932b43d2a3dee5e7824d6b105c
mac80211: mesh: drop constant field mean_chain_len

The mean_chain_len field in struct mesh_table is copied whenever a
new mesh table is allocated, but only ever has the value 2 and is
never otherwise updated, so just remove it and use the related
define instead.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.h
net/mac80211/mesh_pathtbl.c