summaryrefslogtreecommitdiffstats
path: root/net/can/gw.c
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/can/gw.c
parentcan: gw: add missing spaces around operators (diff)
downloadlinux-0815c891e52208dc798916650b3496a2a53ee81f.tar.xz
linux-0815c891e52208dc798916650b3496a2a53ee81f.zip
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/can/gw.c')
-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)