Skip to content

Commit

Permalink
net/bnxt: remove redundant return
Browse files Browse the repository at this point in the history
[ upstream commit 5d91d6e ]

Removing useless 'return' statement.

Fixes: b2da024 ("net/bnxt: support EEM system memory")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
  • Loading branch information
Ferruh Yigit authored and bluca committed Feb 2, 2021
1 parent d1c219f commit 80e6bad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/bnxt/tf_core/tf_em_common.c
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 80e6bad

Please sign in to comment.