[PATCH net-next v1 3/7] net: hsr: remove unnecessary void function return statement

luka.gejak
2026-03-24T14:46:58Z

Remove the trailing 'return;' from the end of the void function
send_hsr_supervision_frame() per checkpatch recommendations.

Signed-off-by: Luka Gejak <luka.gejak@linux.dev>
---
net/hsr/hsr_device.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c
index 90236028817d..6ffecc3f0004 100644
--- a/net/hsr/hsr_device.c
+++ b/net/hsr/hsr_device.c
@@ -363,7 +363,6 @@ static void send_hsr_supervision_frame(struct hsr_port *port,

hsr_forward_skb(skb, port);
spin_unlock_bh(&hsr->seqnr_lock);
- return;
}

static void send_prp_supervision_frame(struct hsr_port *master,
--
2.53.0