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

luka.gejak@linux.dev posted 7 patches 1 week, 2 days ago
There is a newer version of this series
[PATCH net-next v1 3/7] net: hsr: remove unnecessary void function return statement
Posted by luka.gejak@linux.dev 1 week, 2 days ago
From: Luka Gejak <luka.gejak@linux.dev>

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