commit | d0b69609dc50b6bf2637cf74e6f97c251adc65ed | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Mon Aug 10 16:02:40 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Aug 14 09:13:57 2009 -0400 |
tree | b834227a9d1e9fe1083164cff5891547139e8139 | |
parent | feff1f2fea3fc7ee055e46d0fbdb2d25ad2b14c4 [diff] |
mac80211: sequence number micro-optimisation There's no need to mask the variable with 0xFFF0 since we ever only use it as a u16 and the lowest four bits can't ever be non-zero. The compiler cannot infer the latter, and therefore has to emit code to do the masking. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>