can: dev: can_dellink(): remove return at end of void function
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 27 Aug 2019 19:11:59 +0000 (21:11 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 3 Sep 2019 08:28:13 +0000 (10:28 +0200)
This patch remove the return at the end of the void function
can_dellink().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev.c

index 0d18a71..144bb08 100644 (file)
@@ -1196,7 +1196,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 = {