From: Ferruh Yigit Date: Thu, 19 Nov 2020 11:58:58 +0000 (+0000) Subject: net/bnxt: remove redundant return X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5d91d6e1c914b5372baaa9e9937cdba88cd50ff3;p=dpdk.git net/bnxt: remove redundant return Removing useless 'return' statement. Fixes: b2da02480cb7 ("net/bnxt: support EEM system memory") Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Reviewed-by: David Marchand Acked-by: Ajit Khaparde --- diff --git a/drivers/net/bnxt/tf_core/tf_em_common.c b/drivers/net/bnxt/tf_core/tf_em_common.c index ad92cbdc75..c96c21c2e9 100644 --- a/drivers/net/bnxt/tf_core/tf_em_common.c +++ b/drivers/net/bnxt/tf_core/tf_em_common.c @@ -307,7 +307,6 @@ tf_em_page_tbl_pgcnt(uint32_t num_pages, { return roundup(num_pages, MAX_PAGE_PTRS(page_size)) / MAX_PAGE_PTRS(page_size); - return 0; } /**