diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-09-21 12:56:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-22 17:28:51 -0700 |
commit | a2c2a4ddc27db1715be8c03280c6cb7b808dd8b7 (patch) | |
tree | 8dc965854fcdd44dcc079e9bf13e43907622822b /include/net/pkt_sched.h | |
parent | 03d25cf7a0e9e83448a67cd1e3c51712f3273984 (diff) |
net/sched: taprio: remove unnecessary taprio_list_lock
The 3 functions that want access to the taprio_list:
taprio_dev_notifier(), taprio_destroy() and taprio_init() are all called
with the rtnl_mutex held, therefore implicitly serialized with respect
to each other. A spin lock serves no purpose.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Link: https://lore.kernel.org/r/20220921095632.1379251-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/pkt_sched.h')
0 files changed, 0 insertions, 0 deletions