Skip to content

Commit

Permalink
net: hsr: cosmetic: Remove extra white space
Browse files Browse the repository at this point in the history
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>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20240618125817.1111070-1-lukma@denx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Lukasz Majewski authored and Jakub Kicinski committed Jun 20, 2024
1 parent c8bd1f7 commit 89f5e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/hsr/hsr_forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 89f5e60

Please sign in to comment.