From: Marc Kleine-Budde Date: Wed, 24 Jul 2019 12:16:29 +0000 (+0200) Subject: can: vcan: convert block comments to network style comments X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d569de814967362bdd69f073b88f1f1321097dee;p=openwrt%2Fstaging%2Fblogic.git can: vcan: convert block comments to network style comments This patch converts all block comments to network subsystem style block comments. Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/vcan.c b/drivers/net/can/vcan.c index d200a5b0651c..8922dbd93ee2 100644 --- a/drivers/net/can/vcan.c +++ b/drivers/net/can/vcan.c @@ -1,5 +1,4 @@ -/* - * vcan.c - Virtual CAN interface +/* vcan.c - Virtual CAN interface * * Copyright (c) 2002-2017 Volkswagen Group Electronic Research * All rights reserved. @@ -57,9 +56,7 @@ MODULE_LICENSE("Dual BSD/GPL"); MODULE_AUTHOR("Urs Thuermann "); MODULE_ALIAS_RTNL_LINK(DRV_NAME); - -/* - * CAN test feature: +/* CAN test feature: * Enable the echo on driver level for testing the CAN core echo modes. * See Documentation/networking/can.rst for details. */ @@ -101,10 +98,8 @@ static netdev_tx_t vcan_tx(struct sk_buff *skb, struct net_device *dev) if (!echo) { /* no echo handling available inside this driver */ - if (loop) { - /* - * only count the packets here, because the + /* only count the packets here, because the * CAN core already did the echo for us */ stats->rx_packets++;