forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h
....@@ -84,12 +84,9 @@
8484 #ifdef CONFIG_MLX5_MPFS
8585 int mlx5_mpfs_init(struct mlx5_core_dev *dev);
8686 void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev);
87
-int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac);
88
-int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac);
8987 #else /* #ifndef CONFIG_MLX5_MPFS */
9088 static inline int mlx5_mpfs_init(struct mlx5_core_dev *dev) { return 0; }
9189 static inline void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev) {}
92
-static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; }
93
-static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; }
9490 #endif
91
+
9592 #endif