stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4.4 1/6] can: dev: can_dellink(): remove return at end of void function
@ 2019-11-27  7:21 Lee Jones
  2019-11-27  7:21 ` [PATCH 4.4 2/6] arm64: fix for bad_mode() handler to always result in panic Lee Jones
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Lee Jones @ 2019-11-27  7:21 UTC (permalink / raw)
  To: stable

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(-)

diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c
index 9dd968ee792e..e0d067701edc 100644
--- a/drivers/net/can/dev.c
+++ b/drivers/net/can/dev.c
@@ -1041,7 +1041,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 = {
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-11-27  9:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-27  7:21 [PATCH 4.4 1/6] can: dev: can_dellink(): remove return at end of void function Lee Jones
2019-11-27  7:21 ` [PATCH 4.4 2/6] arm64: fix for bad_mode() handler to always result in panic Lee Jones
2019-11-27  7:21 ` [PATCH 4.4 3/6] cpufreq: Skip cpufreq resume if it's not suspended Lee Jones
2019-11-27  7:21 ` [PATCH 4.4 4/6] dm: use blk_set_queue_dying() in __dm_destroy() Lee Jones
2019-11-27  7:21 ` [PATCH 4.4 5/6] mmc: block: Fix tag condition with packed writes Lee Jones
2019-11-27  7:21 ` [PATCH 4.4 6/6] ocfs2: remove ocfs2_is_o2cb_active() Lee Jones
2019-11-27  7:50 ` [PATCH 4.4 1/6] can: dev: can_dellink(): remove return at end of void function Greg KH
2019-11-27  7:51 ` Greg KH
2019-11-27  9:54   ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).