diff options
author | Gao Feng <fgao@ikuai8.com> | 2017-02-17 14:34:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-17 15:10:18 -0500 |
commit | 806a837650501f5eee359a197824db8752fa6e6c (patch) | |
tree | 30caf1cd7443f876d7e77ecc8941abd88f1abca9 /drivers/net/ethernet/netronome/nfp/nfp_main.c | |
parent | 88c4845d7dec835ba7ad1379e30a09658b05495d (diff) |
pkt_sched: Remove useless qdisc_stab_lock
The qdisc_stab_lock is used in qdisc_get_stab and qdisc_put_stab.
These two functions are invoked in qdisc_create, qdisc_change, and
qdisc_destroy which run fully under RTNL.
So it already makes sure only one could access the qdisc_stab_list at
the same time. Then it is unnecessary to use qdisc_stab_lock now.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_main.c')
0 files changed, 0 insertions, 0 deletions