summaryrefslogtreecommitdiffstats
path: root/net/devlink/devl_internal.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-01-18 16:21:09 +0100
committerJakub Kicinski <kuba@kernel.org>2023-01-19 19:08:37 -0800
commit1dea3b4e4c52f4bed64d1c527d548e82ccaea15a (patch)
tree8043cc944cfa529d32aae8909f5ca379559e43ae /net/devlink/devl_internal.h
parentdfdfd1305ddecb990566193f2ba8a11bccba4cde (diff)
downloadlinux-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 'net/devlink/devl_internal.h')
-rw-r--r--net/devlink/devl_internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h
index dd4e2c37cf07..bdb83014b4b5 100644
--- a/net/devlink/devl_internal.h
+++ b/net/devlink/devl_internal.h
@@ -32,7 +32,6 @@ struct devlink {
struct list_head param_list;
struct list_head region_list;
struct list_head reporter_list;
- struct mutex reporters_lock; /* protects reporter_list */
struct devlink_dpipe_headers *dpipe_headers;
struct list_head trap_list;
struct list_head trap_group_list;