Yue Haibing
2023-Aug-03 14:30 UTC
[PATCH -next] vdpa/mlx5: Remove unused function declarations
Commit 29064bfdabd5 ("vdpa/mlx5: Add support library for mlx5 VDPA
implementation")
declared but never implemented these.
Signed-off-by: Yue Haibing <yuehaibing at huawei.com>
---
drivers/vdpa/mlx5/core/mlx5_vdpa.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/vdpa/mlx5/core/mlx5_vdpa.h
b/drivers/vdpa/mlx5/core/mlx5_vdpa.h
index 25fc4120b618..e0be3b71e6ae 100644
--- a/drivers/vdpa/mlx5/core/mlx5_vdpa.h
+++ b/drivers/vdpa/mlx5/core/mlx5_vdpa.h
@@ -99,9 +99,6 @@ struct mlx5_vdpa_dev {
bool suspended;
};
-int mlx5_vdpa_alloc_pd(struct mlx5_vdpa_dev *dev, u32 *pdn, u16 uid);
-int mlx5_vdpa_dealloc_pd(struct mlx5_vdpa_dev *dev, u32 pdn, u16 uid);
-int mlx5_vdpa_get_null_mkey(struct mlx5_vdpa_dev *dev, u32 *null_mkey);
int mlx5_vdpa_create_tis(struct mlx5_vdpa_dev *mvdev, void *in, u32 *tisn);
void mlx5_vdpa_destroy_tis(struct mlx5_vdpa_dev *mvdev, u32 tisn);
int mlx5_vdpa_create_rqt(struct mlx5_vdpa_dev *mvdev, void *in, int inlen, u32
*rqtn);
--
2.34.1