]> git.karo-electronics.de Git - karo-tx-linux.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)
commit3f73fe9fd8703123faf663908923ca9e62cb984e
tree0a06be161738014422f29947fbcd5a7a9f88c74b
parent0ef049dc1167fe834d0ad5d63f89eddc5c70f6e4
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