From: Marc Kleine-Budde Date: Tue, 27 Aug 2019 19:11:59 +0000 (+0200) Subject: can: dev: can_dellink(): remove return at end of void function X-Git-Tag: v5.4-rc1~131^2~81^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d36673f5918c8fd3533f7c0d4bac041baf39c7bb;p=platform%2Fkernel%2Flinux-rpi.git can: dev: can_dellink(): remove return at end of void function This patch remove the return at the end of the void function can_dellink(). Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index 0d18a71..144bb08 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c @@ -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 = {