]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
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 0d18a719ded981424e6f4095a101ef7e0f9ff6ac..144bb085e0f34d6496302d2b0621540b14a7a30e 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 = {