diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-01-18 16:21:09 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-19 19:08:37 -0800 |
commit | 1dea3b4e4c52f4bed64d1c527d548e82ccaea15a (patch) | |
tree | 8043cc944cfa529d32aae8909f5ca379559e43ae /include/net/devlink.h | |
parent | dfdfd1305ddecb990566193f2ba8a11bccba4cde (diff) | |
download | linux-stable-1dea3b4e4c52f4bed64d1c527d548e82ccaea15a.tar.gz linux-stable-1dea3b4e4c52f4bed64d1c527d548e82ccaea15a.tar.bz2 linux-stable-1dea3b4e4c52f4bed64d1c527d548e82ccaea15a.zip |
devlink: remove reporters_lock
Similar to other devlink objects, rely on devlink instance lock
and remove object specific reporters_lock.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r-- | include/net/devlink.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h index 0d64feaef7cb..d9ea76bea36e 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -146,7 +146,6 @@ struct devlink_port { initialized:1; struct delayed_work type_warn_dw; struct list_head reporter_list; - struct mutex reporters_lock; /* Protects reporter_list */ struct devlink_rate *devlink_rate; struct devlink_linecard *linecard; |