aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2018-12-10 13:15:17 -0800
committerSaeed Mahameed <saeedm@mellanox.com>2018-12-10 14:00:08 -0800
commit6c22a11957f46ca7e9b8db20ac7c6b05441c55ed (patch)
treefa21dd71f9eccfa3d6354eda2b2798897083925e /include/linux/mlx5/driver.h
parentnet/mlx5: Support extended destination format in flow steering command (diff)
downloadlinux-dev-6c22a11957f46ca7e9b8db20ac7c6b05441c55ed.tar.xz
linux-dev-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 '')
-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);