]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: mesh: use u16 return type for u16 getter
authorBob Copeland <me@bobcopeland.com>
Tue, 15 Apr 2014 14:43:06 +0000 (10:43 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Apr 2014 15:24:49 +0000 (17:24 +0200)
commitaee6499c8c6d0d1bc75cbae51f89c4d35a5aaa1f
tree59471e267fdfed0618adc81b8749c00c0e19b64f
parent9a07bf507dfc5402e63d96596341f2a15e4142c7
mac80211: mesh: use u16 return type for u16 getter

u16_field_get() is a simple wrapper around get_unaligned_le16(),
and it is being assigned to a u16, so there's no need to
promote to u32 in the middle.

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