]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_flow.c
net/mlx5: remove unnecessary cast
[dpdk.git] / drivers / net / mlx5 / mlx5_flow.c
index 98870184d06cf1022f5c1d314d33fe0f3876c9ab..c03eb4c376069773ee7f6891d88c29e07d80be18 100644 (file)
@@ -2156,7 +2156,7 @@ mlx5_flow_create(struct rte_eth_dev *dev,
                 const struct rte_flow_action actions[],
                 struct rte_flow_error *error)
 {
-       struct mlx5_priv *priv = (struct mlx5_priv *)dev->data->dev_private;
+       struct mlx5_priv *priv = dev->data->dev_private;
 
        return flow_list_create(dev, &priv->flows,
                                attr, items, actions, error);