* [PATCH] bridge: cfm: remove redundant return
@ 2021-06-22 6:05 13145886936
2021-06-22 17:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: 13145886936 @ 2021-06-22 6:05 UTC (permalink / raw)
To: roopa, nikolay, davem, kuba; +Cc: netdev, linux-kernel, gushengxian
From: gushengxian <gushengxian@yulong.com>
Return statements are not needed in Void function.
Signed-off-by: gushengxian <gushengxian@yulong.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bridge: cfm: remove redundant return
2021-06-22 6:05 [PATCH] bridge: cfm: remove redundant return 13145886936
@ 2021-06-22 17:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-06-22 17:40 UTC (permalink / raw)
To: None; +Cc: roopa, nikolay, davem, kuba, netdev, linux-kernel, gushengxian
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 <gushengxian@yulong.com>
>
> Return statements are not needed in Void function.
>
> Signed-off-by: gushengxian <gushengxian@yulong.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-22 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 6:05 [PATCH] bridge: cfm: remove redundant return 13145886936
2021-06-22 17:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).