summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-08-27 21:11:59 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-09-03 10:28:13 +0200
commitd36673f5918c8fd3533f7c0d4bac041baf39c7bb (patch)
treefd9740656135ee1b85f4a1bbdd3ce92791e0f837
parentcan: dev: can_restart(): convert NULL pointer check (diff)
downloadlinux-d36673f5918c8fd3533f7c0d4bac041baf39c7bb.tar.xz
linux-d36673f5918c8fd3533f7c0d4bac041baf39c7bb.zip
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 <mkl@pengutronix.de>
-rw-r--r--drivers/net/can/dev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c
index 0d18a719ded9..144bb085e0f3 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 = {