diff mbox series

bnx2x: Remove the repeated declaration

Message ID 1622449756-2627-1-git-send-email-zhangshaokun@hisilicon.com (mailing list archive)
State Accepted
Commit 44fdd2edb36f0da66758cd355840d357078110fe
Delegated to: Netdev Maintainers
Headers show
Series bnx2x: Remove the repeated declaration | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers warning 2 maintainers not CCed: davem@davemloft.net kuba@kernel.org
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 2 this patch: 2
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 2 this patch: 2
netdev/header_inline success Link

Commit Message

Shaokun Zhang May 31, 2021, 8:29 a.m. UTC
Function 'bnx2x_vfpf_release' is declared twice, so remove the
repeated declaration.

Cc: Ariel Elior <aelior@marvell.com>
Cc: Sudarsana Kalluru <skalluru@marvell.com>
Cc: GR-everest-linux-l2@marvell.com
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Sudarsana Reddy Kalluru May 31, 2021, 11:12 a.m. UTC | #1
> -----Original Message-----
> From: Shaokun Zhang <zhangshaokun@hisilicon.com>
> Sent: Monday, May 31, 2021 1:59 PM
> To: netdev@vger.kernel.org
> Cc: Shaokun Zhang <zhangshaokun@hisilicon.com>; Ariel Elior
> <aelior@marvell.com>; Sudarsana Reddy Kalluru <skalluru@marvell.com>;
> GR-everest-linux-l2 <GR-everest-linux-l2@marvell.com>
> Subject: [EXT] [PATCH] bnx2x: Remove the repeated declaration
> 
> External Email
> 
> ----------------------------------------------------------------------
> Function 'bnx2x_vfpf_release' is declared twice, so remove the repeated
> declaration.
> 
> Cc: Ariel Elior <aelior@marvell.com>
> Cc: Sudarsana Kalluru <skalluru@marvell.com>
> Cc: GR-everest-linux-l2@marvell.com
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> ---
>  drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> index 3a716c015415..966d5722c5e2 100644
> --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
> @@ -504,7 +504,6 @@ enum sample_bulletin_result
> bnx2x_sample_bulletin(struct bnx2x *bp);
>  /* VF side vfpf channel functions */
>  int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);  int
> bnx2x_vfpf_release(struct bnx2x *bp); -int bnx2x_vfpf_release(struct bnx2x
> *bp);  int bnx2x_vfpf_init(struct bnx2x *bp);  void bnx2x_vfpf_close_vf(struct
> bnx2x *bp);  int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath
> *fp,
> --
> 2.7.4

Acked-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
patchwork-bot+netdevbpf@kernel.org June 1, 2021, 5:40 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 31 May 2021 16:29:16 +0800 you wrote:
> Function 'bnx2x_vfpf_release' is declared twice, so remove the
> repeated declaration.
> 
> Cc: Ariel Elior <aelior@marvell.com>
> Cc: Sudarsana Kalluru <skalluru@marvell.com>
> Cc: GR-everest-linux-l2@marvell.com
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> 
> [...]

Here is the summary with links:
  - bnx2x: Remove the repeated declaration
    https://git.kernel.org/netdev/net-next/c/44fdd2edb36f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
index 3a716c015415..966d5722c5e2 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
@@ -504,7 +504,6 @@  enum sample_bulletin_result bnx2x_sample_bulletin(struct bnx2x *bp);
 /* VF side vfpf channel functions */
 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);
 int bnx2x_vfpf_release(struct bnx2x *bp);
-int bnx2x_vfpf_release(struct bnx2x *bp);
 int bnx2x_vfpf_init(struct bnx2x *bp);
 void bnx2x_vfpf_close_vf(struct bnx2x *bp);
 int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp,