[PATCH v2 01/15] net/hns3: remove unnecessary assignment
Min Hu (Connor)
humin29 at huawei.com
Sat Jan 22 02:51:28 CET 2022
From: Huisong Li <lihuisong at huawei.com>
Remove unnecessary assignment.
Signed-off-by: Huisong Li <lihuisong at huawei.com>
---
drivers/net/hns3/hns3_flow.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index 0dbc3f6502..5f2b279546 100644
--- a/drivers/net/hns3/hns3_flow.c
+++ b/drivers/net/hns3/hns3_flow.c
@@ -1890,7 +1890,6 @@ hns3_flow_destroy(struct rte_eth_dev *dev, struct rte_flow *flow,
}
}
rte_free(flow);
- flow = NULL;
return 0;
}
--
2.33.0
More information about the dev
mailing list