summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/vport.h
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2018-08-08 16:23:51 -0700
committerDavid S. Miller <davem@davemloft.net>2018-08-08 19:34:55 -0700
commit29d8ebd44de8999e292dbb4de76744d4a41039ec (patch)
tree630a222c02ffd3662c5a71f7ea8126d106114c95 /include/linux/mlx5/vport.h
parent8e3debc08b9a1a4c049c4e3bd2cfe73614a9a6cb (diff)
downloadlinux-29d8ebd44de8999e292dbb4de76744d4a41039ec.tar.gz
linux-29d8ebd44de8999e292dbb4de76744d4a41039ec.tar.bz2
linux-29d8ebd44de8999e292dbb4de76744d4a41039ec.zip
net/mlx5: Remove unused mlx5_query_vport_admin_state
mlx5_query_vport_admin_state() is not used anywhere. Remove it. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/vport.h')
-rw-r--r--include/linux/mlx5/vport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mlx5/vport.h b/include/linux/mlx5/vport.h
index 9208cb8809ac..7e7c6dfcfb09 100644
--- a/include/linux/mlx5/vport.h
+++ b/include/linux/mlx5/vport.h
@@ -43,8 +43,6 @@ enum {
};
u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
-u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
- u16 vport);
int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
u16 vport, u8 state);
int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev,