summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2024-06-18 14:58:17 +0200
committerJakub Kicinski <kuba@kernel.org>2024-06-20 02:32:57 +0200
commit89f5e607772b4d6e467adf8bbe530a5036abb415 (patch)
treeb7d2890238d9b0bc310204e6c97a9a9a10bfdf9c /net
parentvirtio_net: add support for Byte Queue Limits (diff)
downloadlinux-89f5e607772b4d6e467adf8bbe530a5036abb415.tar.xz
linux-89f5e607772b4d6e467adf8bbe530a5036abb415.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/hsr/hsr_forward.c4
1 files 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)