On Wed, Nov 18, 2020 at 12:48 PM Ferruh Yigit <[email protected]> wrote:
>
> Removing useless 'return' statement.
>
> Fixes: b2da02480cb7 ("net/bnxt: support EEM system memory")
> Cc: [email protected]
>
> Signed-off-by: Ferruh Yigit <[email protected]>
> ---
> Cc: [email protected]
> ---
>  drivers/net/bnxt/tf_core/tf_em_common.c | 1 -
>  1 file changed, 1 deletion(-)
>
> 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;
>  }
>
>  /**

Reviewed-by: David Marchand <[email protected]>

-- 
David Marchand

Reply via email to