projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd3b29
)
net/mlx5: Remove unused ecpu field from struct mlx5_sf_table
author
Jiri Pirko
<jiri@nvidia.com>
Fri, 2 Jun 2023 13:34:00 +0000
(15:34 +0200)
committer
Saeed Mahameed
<saeedm@nvidia.com>
Fri, 16 Jun 2023 19:02:09 +0000
(12:02 -0700)
"ecpu" field in struct mlx5_sf_table is not used anywhere. Remove it.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c
b/drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c
index 9c02e5ea797c5c1c7256896061f0c5f13bfe2118..6a3fa30b2bf20eebc55433369bff8d27deb636a2 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c
@@
-28,7
+28,6
@@
struct mlx5_sf_table {
struct mutex sf_state_lock; /* Serializes sf state among user cmds & vhca event handler. */
struct notifier_block esw_nb;
struct notifier_block vhca_nb;
- u8 ecpu: 1;
};
static struct mlx5_sf *