summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2018-12-11 00:15:17 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-12-11 01:00:08 +0300
commit6c22a11957f46ca7e9b8db20ac7c6b05441c55ed (patch)
treefa21dd71f9eccfa3d6354eda2b2798897083925e /include
parenta2c6162b12f15fbbbe38d0eb3a38186bcfc79c0f (diff)
downloadlinux-6c22a11957f46ca7e9b8db20ac7c6b05441c55ed.tar.xz
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.h2
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);