summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-07-24 14:33:13 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-08-13 17:32:21 +0200
commit0815c891e52208dc798916650b3496a2a53ee81f (patch)
tree651765c39067e4d429502a43faaf1969ad176770 /net
parent5dfc8c94a887d3e0553316430c4fb33df85ccc89 (diff)
downloadlinux-0815c891e52208dc798916650b3496a2a53ee81f.tar.bz2
can: gw: can_can_gw_rcv(): remove return at end of void function
This patch remove the return at the end of the void function can_can_gw_rcv(). Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net')
-rw-r--r--net/can/gw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/can/gw.c b/net/can/gw.c
index ff7366ecd5cd..9b2efbad1b7e 100644
--- a/net/can/gw.c
+++ b/net/can/gw.c
@@ -447,7 +447,6 @@ static void can_can_gw_rcv(struct sk_buff *skb, void *data)
/* delete frame due to misconfiguration */
gwj->deleted_frames++;
kfree_skb(nskb);
- return;
}
static inline int cgw_register_filter(struct net *net, struct cgw_job *gwj)