]> www.infradead.org Git - users/hch/configfs.git/commitdiff
net: hsr: cosmetic: Remove extra white space
authorLukasz Majewski <lukma@denx.de>
Tue, 18 Jun 2024 12:58:17 +0000 (14:58 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Jun 2024 00:32:57 +0000 (17:32 -0700)
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>
net/hsr/hsr_forward.c

index 960ef386bc3a149f72c4bca64473fc2036845e1b..b38060246e62e8a8d94d78d32a530e3820e752a1 100644 (file)
@@ -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)