Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: hsr: cosmetic: Remove extra white space

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>

authored by

Lukasz Majewski and committed by
Jakub Kicinski
89f5e607 c8bd1f7f

+2 -2
+2 -2
net/hsr/hsr_forward.c
··· 421 421 bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port) 422 422 { 423 423 return ((frame->port_rcv->type == HSR_PT_SLAVE_A && 424 - port->type == HSR_PT_SLAVE_B) || 424 + port->type == HSR_PT_SLAVE_B) || 425 425 (frame->port_rcv->type == HSR_PT_SLAVE_B && 426 - port->type == HSR_PT_SLAVE_A)); 426 + port->type == HSR_PT_SLAVE_A)); 427 427 } 428 428 429 429 bool hsr_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port)