Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
node: remove useless return code assignment
No need to store the return code of rte_lpm6_lookup_bulk_func() as it returns error only if parameters are NULL. In the function ip6_lookup_node_process_scalar(), these variables will never be NULL. Not checking the return code will avoid check in datapath. Storing of the return code is useless and removed. Coverity issue: 385595 Fixes: 20365d7 ("node: add IPv6 lookup node") Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>
- Loading branch information