public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 net-next] net: hsr: cosmetic: Remove extra white space
@ 2024-06-18 12:58 Lukasz Majewski
  2024-06-19  2:44 ` Hangbin Liu
  2024-06-20  0:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Lukasz Majewski @ 2024-06-18 12:58 UTC (permalink / raw)
  To: Jakub Kicinski, netdev, Paolo Abeni, Wojciech Drewek
  Cc: Eric Dumazet, Vladimir Oltean, David S. Miller, Oleksij Rempel,
	Tristram.Ha, Sebastian Andrzej Siewior, Ravi Gunasekaran,
	Simon Horman, Arvid Brodin, Dan Carpenter, Ricardo B. Marliere,
	Casper Andersson, linux-kernel, Hangbin Liu, Geliang Tang,
	Shuah Khan, Shigeru Yoshida, Lukasz Majewski

This change just removes extra (i.e. not needed) white space in
prp_drop_frame() function.

No functional changes.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 net/hsr/hsr_forward.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/hsr/hsr_forward.c b/net/hsr/hsr_forward.c
index 960ef386bc3a..b38060246e62 100644
--- a/net/hsr/hsr_forward.c
+++ b/net/hsr/hsr_forward.c
@@ -421,9 +421,9 @@ static int hsr_xmit(struct sk_buff *skb, struct hsr_port *port,
 bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port)
 {
 	return ((frame->port_rcv->type == HSR_PT_SLAVE_A &&
-		 port->type ==  HSR_PT_SLAVE_B) ||
+		 port->type == HSR_PT_SLAVE_B) ||
 		(frame->port_rcv->type == HSR_PT_SLAVE_B &&
-		 port->type ==  HSR_PT_SLAVE_A));
+		 port->type == HSR_PT_SLAVE_A));
 }
 
 bool hsr_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port)
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 net-next] net: hsr: cosmetic: Remove extra white space
  2024-06-18 12:58 [PATCH v1 net-next] net: hsr: cosmetic: Remove extra white space Lukasz Majewski
@ 2024-06-19  2:44 ` Hangbin Liu
  2024-06-20  0:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Hangbin Liu @ 2024-06-19  2:44 UTC (permalink / raw)
  To: Lukasz Majewski
  Cc: Jakub Kicinski, netdev, Paolo Abeni, Wojciech Drewek,
	Eric Dumazet, Vladimir Oltean, David S. Miller, Oleksij Rempel,
	Tristram.Ha, Sebastian Andrzej Siewior, Ravi Gunasekaran,
	Simon Horman, Arvid Brodin, Dan Carpenter, Ricardo B. Marliere,
	Casper Andersson, linux-kernel, Geliang Tang, Shuah Khan,
	Shigeru Yoshida

On Tue, Jun 18, 2024 at 02:58:17PM +0200, Lukasz Majewski wrote:
> This change just removes extra (i.e. not needed) white space in
> prp_drop_frame() function.
> 
> No functional changes.
> 
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> ---
>  net/hsr/hsr_forward.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net/hsr/hsr_forward.c b/net/hsr/hsr_forward.c
> index 960ef386bc3a..b38060246e62 100644
> --- a/net/hsr/hsr_forward.c
> +++ b/net/hsr/hsr_forward.c
> @@ -421,9 +421,9 @@ static int hsr_xmit(struct sk_buff *skb, struct hsr_port *port,
>  bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port)
>  {
>  	return ((frame->port_rcv->type == HSR_PT_SLAVE_A &&
> -		 port->type ==  HSR_PT_SLAVE_B) ||
> +		 port->type == HSR_PT_SLAVE_B) ||
>  		(frame->port_rcv->type == HSR_PT_SLAVE_B &&
> -		 port->type ==  HSR_PT_SLAVE_A));
> +		 port->type == HSR_PT_SLAVE_A));
>  }
>  
>  bool hsr_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port)
> -- 
> 2.20.1
> 

Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 net-next] net: hsr: cosmetic: Remove extra white space
  2024-06-18 12:58 [PATCH v1 net-next] net: hsr: cosmetic: Remove extra white space Lukasz Majewski
  2024-06-19  2:44 ` Hangbin Liu
@ 2024-06-20  0:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-06-20  0:40 UTC (permalink / raw)
  To: Lukasz Majewski
  Cc: kuba, netdev, pabeni, wojciech.drewek, edumazet, olteanv, davem,
	o.rempel, Tristram.Ha, bigeasy, r-gunasekaran, horms,
	Arvid.Brodin, dan.carpenter, ricardo, casper.casan, linux-kernel,
	liuhangbin, tanggeliang, shuah, syoshida

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 18 Jun 2024 14:58:17 +0200 you wrote:
> This change just removes extra (i.e. not needed) white space in
> prp_drop_frame() function.
> 
> No functional changes.
> 
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> 
> [...]

Here is the summary with links:
  - [v1,net-next] net: hsr: cosmetic: Remove extra white space
    https://git.kernel.org/netdev/net-next/c/89f5e607772b

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] 3+ messages in thread

end of thread, other threads:[~2024-06-20  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18 12:58 [PATCH v1 net-next] net: hsr: cosmetic: Remove extra white space Lukasz Majewski
2024-06-19  2:44 ` Hangbin Liu
2024-06-20  0: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