summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx5/mlx5_socket.c')
-rw-r--r--drivers/net/mlx5/mlx5_socket.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/mlx5/mlx5_socket.c b/drivers/net/mlx5/mlx5_socket.c
index b8f610d..8db25cf 100644
--- a/drivers/net/mlx5/mlx5_socket.c
+++ b/drivers/net/mlx5/mlx5_socket.c
@@ -82,11 +82,8 @@ out:
*
* @param[in] dev
* Pointer to Ethernet device.
- *
- * @return
- * 0 on success, errno value on failure.
*/
-int
+void
mlx5_socket_uninit(struct rte_eth_dev *dev)
{
struct priv *priv = dev->data->dev_private;
@@ -95,7 +92,6 @@ mlx5_socket_uninit(struct rte_eth_dev *dev)
claim_zero(close(priv->primary_socket));
priv->primary_socket = 0;
claim_zero(remove(path));
- return 0;
}
/**