Skip to content

Commit

Permalink
vcan: whitespace fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Oliver Hartkopp authored and David S. Miller committed Dec 17, 2008
1 parent 7a95d26 commit fc10af8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions drivers/net/can/vcan.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,24 +134,24 @@ static const struct net_device_ops vcan_netdev_ops = {

static void vcan_setup(struct net_device *dev)
{
dev->type = ARPHRD_CAN;
dev->mtu = sizeof(struct can_frame);
dev->hard_header_len = 0;
dev->addr_len = 0;
dev->tx_queue_len = 0;
dev->flags = IFF_NOARP;
dev->type = ARPHRD_CAN;
dev->mtu = sizeof(struct can_frame);
dev->hard_header_len = 0;
dev->addr_len = 0;
dev->tx_queue_len = 0;
dev->flags = IFF_NOARP;

/* set flags according to driver capabilities */
if (echo)
dev->flags |= IFF_ECHO;

dev->netdev_ops = &vcan_netdev_ops;
dev->destructor = free_netdev;
dev->netdev_ops = &vcan_netdev_ops;
dev->destructor = free_netdev;
}

static struct rtnl_link_ops vcan_link_ops __read_mostly = {
.kind = "vcan",
.setup = vcan_setup,
.kind = "vcan",
.setup = vcan_setup,
};

static __init int vcan_init_module(void)
Expand Down

0 comments on commit fc10af8

Please sign in to comment.