2021-06-22 06:07:43

by gushengxian

[permalink] [raw]
Subject: [PATCH] bridge: cfm: remove redundant return

From: gushengxian <[email protected]>

Return statements are not needed in Void function.

Signed-off-by: gushengxian <[email protected]>
---
net/bridge/br_cfm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/bridge/br_cfm.c b/net/bridge/br_cfm.c
index 001064f7583d..a3c755d0a09d 100644
--- a/net/bridge/br_cfm.c
+++ b/net/bridge/br_cfm.c
@@ -142,7 +142,7 @@ static void br_cfm_notify(int event, const struct net_bridge_port *port)
{
u32 filter = RTEXT_FILTER_CFM_STATUS;

- return br_info_notify(event, port->br, NULL, filter);
+ br_info_notify(event, port->br, NULL, filter);
}

static void cc_peer_enable(struct br_cfm_peer_mep *peer_mep)
--
2.25.1



2021-06-22 17:41:30

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] bridge: cfm: remove redundant return

Hello:

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

On Mon, 21 Jun 2021 23:05:19 -0700 you wrote:
> From: gushengxian <[email protected]>
>
> Return statements are not needed in Void function.
>
> Signed-off-by: gushengxian <[email protected]>
> ---
> net/bridge/br_cfm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- bridge: cfm: remove redundant return
https://git.kernel.org/netdev/net-next/c/98534fce52ef

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