[PATCH] loopback: whitespace cleanup
authorChuck Ebbert <76306.1226@compuserve.com>
Sun, 3 Jul 2005 01:28:23 +0000 (21:28 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 31 Jul 2005 05:06:11 +0000 (01:06 -0400)
Whitespace cleanup for loopback driver.  Hopefully it fixes the last few
annoyances.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/loopback.c

index dba76169e77494d80a68c1b50245fd1dd196730c..2cb6f1c8c6ed4f6e618534a4585d756d3403b5da 100644 (file)
@@ -132,8 +132,8 @@ static int loopback_xmit(struct sk_buff *skb, struct net_device *dev)
 
        skb_orphan(skb);
 
-       skb->protocol=eth_type_trans(skb,dev);
-       skb->dev=dev;
+       skb->protocol = eth_type_trans(skb,dev);
+       skb->dev = dev;
 #ifndef LOOPBACK_MUST_CHECKSUM
        skb->ip_summed = CHECKSUM_UNNECESSARY;
 #endif
@@ -211,12 +211,12 @@ struct net_device loopback_dev = {
        .type                   = ARPHRD_LOOPBACK,      /* 0x0001*/
        .rebuild_header         = eth_rebuild_header,
        .flags                  = IFF_LOOPBACK,
-       .features               = NETIF_F_SG|NETIF_F_FRAGLIST
+       .features               = NETIF_F_SG | NETIF_F_FRAGLIST
 #ifdef LOOPBACK_TSO
-                                 |NETIF_F_TSO
+                                 | NETIF_F_TSO
 #endif
-                                 |NETIF_F_NO_CSUM|NETIF_F_HIGHDMA
-                                 |NETIF_F_LLTX,
+                                 | NETIF_F_NO_CSUM | NETIF_F_HIGHDMA
+                                 | NETIF_F_LLTX,
        .ethtool_ops            = &loopback_ethtool_ops,
 };