diff mbox series

[4.9,2/6] can: dev: can_dellink(): remove return at end of void function

Message ID 20191127072144.30537-2-lee.jones@linaro.org
State Superseded
Headers show
Series [4.9,1/6] ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary | expand

Commit Message

Lee Jones Nov. 27, 2019, 7:21 a.m. UTC
From: Marc Kleine-Budde <mkl@pengutronix.de>


[ Upstream commit d36673f5918c8fd3533f7c0d4bac041baf39c7bb ]

This patch remove the return at the end of the void function
can_dellink().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/net/can/dev.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.24.0
diff mbox series

Patch

diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c
index ffc5467a1ec2..1b3d7ec3462c 100644
--- a/drivers/net/can/dev.c
+++ b/drivers/net/can/dev.c
@@ -1071,7 +1071,6 @@  static int can_newlink(struct net *src_net, struct net_device *dev,
 
 static void can_dellink(struct net_device *dev, struct list_head *head)
 {
-	return;
 }
 
 static struct rtnl_link_ops can_link_ops __read_mostly = {