diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx5/driver.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 957199c20a0f..96498ff6beb6 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h | |||
| @@ -1218,14 +1218,11 @@ struct net_device *mlx5_rdma_netdev_alloc(struct mlx5_core_dev *mdev, | |||
| 1218 | { | 1218 | { |
| 1219 | return ERR_PTR(-EOPNOTSUPP); | 1219 | return ERR_PTR(-EOPNOTSUPP); |
| 1220 | } | 1220 | } |
| 1221 | |||
| 1222 | static inline void mlx5_rdma_netdev_free(struct net_device *netdev) {} | ||
| 1223 | #else | 1221 | #else |
| 1224 | struct net_device *mlx5_rdma_netdev_alloc(struct mlx5_core_dev *mdev, | 1222 | struct net_device *mlx5_rdma_netdev_alloc(struct mlx5_core_dev *mdev, |
| 1225 | struct ib_device *ibdev, | 1223 | struct ib_device *ibdev, |
| 1226 | const char *name, | 1224 | const char *name, |
| 1227 | void (*setup)(struct net_device *)); | 1225 | void (*setup)(struct net_device *)); |
| 1228 | void mlx5_rdma_netdev_free(struct net_device *netdev); | ||
| 1229 | #endif /* CONFIG_MLX5_CORE_IPOIB */ | 1226 | #endif /* CONFIG_MLX5_CORE_IPOIB */ |
| 1230 | 1227 | ||
| 1231 | struct mlx5_profile { | 1228 | struct mlx5_profile { |
