diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-12-10 13:15:17 -0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-12-10 14:00:08 -0800 |
commit | 6c22a11957f46ca7e9b8db20ac7c6b05441c55ed (patch) | |
tree | fa21dd71f9eccfa3d6354eda2b2798897083925e /include | |
parent | a2c6162b12f15fbbbe38d0eb3a38186bcfc79c0f (diff) | |
download | linux-stable-6c22a11957f46ca7e9b8db20ac7c6b05441c55ed.tar.gz linux-stable-6c22a11957f46ca7e9b8db20ac7c6b05441c55ed.tar.bz2 linux-stable-6c22a11957f46ca7e9b8db20ac7c6b05441c55ed.zip |
net/mlx5: Remove the get protocol device interface entry
This isn't used anywhere across the mlx5 driver stack,
remove it.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx5/driver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 584d8a5df7eb..cc29e880c733 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -1004,12 +1004,10 @@ struct mlx5_interface { void (*remove)(struct mlx5_core_dev *dev, void *context); int (*attach)(struct mlx5_core_dev *dev, void *context); void (*detach)(struct mlx5_core_dev *dev, void *context); - void * (*get_dev)(void *context); int protocol; struct list_head list; }; -void *mlx5_get_protocol_dev(struct mlx5_core_dev *mdev, int protocol); int mlx5_register_interface(struct mlx5_interface *intf); void mlx5_unregister_interface(struct mlx5_interface *intf); int mlx5_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb); |