diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2013-12-16 04:15:08 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 17:52:07 (GMT) |
commit | 369ba56787d7469c0afda70bb9ff76ad5faaead5 (patch) | |
tree | 58425d3d564e3255c6660185bf22c80b76305ff5 /mm/mempool.c | |
parent | 5da57f422d89c504a1d72dadd4e19d3dca8e974e (diff) | |
download | linux-369ba56787d7469c0afda70bb9ff76ad5faaead5.tar.xz |
net_sched: init struct tcf_hashinfo at register time
It looks weird to store the lock out of the struct but
still points to a static variable. Just move them into the struct.
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions