mac80211: minstrel_ht: sample_table can be __read_mostly
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jan 2014 23:32:52 +0000 (00:32 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:48:25 +0000 (21:48 +0100)
commitf6e1a73b66bdf41765e762eda0f4ecb7d987ea57
treedcf231b294b29919835533ed7d2da056e67dd512
parent205d242997b57cd0b82f3c8ce4b3c6fd882bf971
mac80211: minstrel_ht: sample_table can be __read_mostly

The sample table is initialized only once at module start, so
is really __read_mostly. Additionally, the code to init it can
be marked __init since it will never be needed again, it is
likely automatically inlined into the __init function already
by the compiler, so this doesn't really make a difference.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c
This page took 0.024332 seconds and 5 git commands to generate.