提交 fc10af8e 编写于 作者: O Oliver Hartkopp 提交者: David S. Miller

vcan: whitespace fixes

Signed-off-by: NOliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7a95d267
...@@ -134,24 +134,24 @@ static const struct net_device_ops vcan_netdev_ops = { ...@@ -134,24 +134,24 @@ static const struct net_device_ops vcan_netdev_ops = {
static void vcan_setup(struct net_device *dev) static void vcan_setup(struct net_device *dev)
{ {
dev->type = ARPHRD_CAN; dev->type = ARPHRD_CAN;
dev->mtu = sizeof(struct can_frame); dev->mtu = sizeof(struct can_frame);
dev->hard_header_len = 0; dev->hard_header_len = 0;
dev->addr_len = 0; dev->addr_len = 0;
dev->tx_queue_len = 0; dev->tx_queue_len = 0;
dev->flags = IFF_NOARP; dev->flags = IFF_NOARP;
/* set flags according to driver capabilities */ /* set flags according to driver capabilities */
if (echo) if (echo)
dev->flags |= IFF_ECHO; dev->flags |= IFF_ECHO;
dev->netdev_ops = &vcan_netdev_ops; dev->netdev_ops = &vcan_netdev_ops;
dev->destructor = free_netdev; dev->destructor = free_netdev;
} }
static struct rtnl_link_ops vcan_link_ops __read_mostly = { static struct rtnl_link_ops vcan_link_ops __read_mostly = {
.kind = "vcan", .kind = "vcan",
.setup = vcan_setup, .setup = vcan_setup,
}; };
static __init int vcan_init_module(void) static __init int vcan_init_module(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册