aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorChuck Ebbert <76306.1226@compuserve.com>2005-07-02 21:28:23 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-07-31 01:06:11 -0400
commit0e920bfb0395fb16909fb98cb6e2782a1c6b73c7 (patch)
tree20f83aeaf19fd833f0a8aa36f8b9ce7bacb985da /drivers/net/loopback.c
parent18c16c696e8b2323a306af455c686df15c717206 (diff)
[PATCH] loopback: whitespace cleanup
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>
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r--drivers/net/loopback.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index dba76169e774..2cb6f1c8c6ed 100644
--- a/drivers/net/loopback.c
+++ b/drivers/net/loopback.c
@@ -132,8 +132,8 @@ static int loopback_xmit(struct sk_buff *skb, struct net_device *dev)
132 132
133 skb_orphan(skb); 133 skb_orphan(skb);
134 134
135 skb->protocol=eth_type_trans(skb,dev); 135 skb->protocol = eth_type_trans(skb,dev);
136 skb->dev=dev; 136 skb->dev = dev;
137#ifndef LOOPBACK_MUST_CHECKSUM 137#ifndef LOOPBACK_MUST_CHECKSUM
138 skb->ip_summed = CHECKSUM_UNNECESSARY; 138 skb->ip_summed = CHECKSUM_UNNECESSARY;
139#endif 139#endif
@@ -211,12 +211,12 @@ struct net_device loopback_dev = {
211 .type = ARPHRD_LOOPBACK, /* 0x0001*/ 211 .type = ARPHRD_LOOPBACK, /* 0x0001*/
212 .rebuild_header = eth_rebuild_header, 212 .rebuild_header = eth_rebuild_header,
213 .flags = IFF_LOOPBACK, 213 .flags = IFF_LOOPBACK,
214 .features = NETIF_F_SG|NETIF_F_FRAGLIST 214 .features = NETIF_F_SG | NETIF_F_FRAGLIST
215#ifdef LOOPBACK_TSO 215#ifdef LOOPBACK_TSO
216 |NETIF_F_TSO 216 | NETIF_F_TSO
217#endif 217#endif
218 |NETIF_F_NO_CSUM|NETIF_F_HIGHDMA 218 | NETIF_F_NO_CSUM | NETIF_F_HIGHDMA
219 |NETIF_F_LLTX, 219 | NETIF_F_LLTX,
220 .ethtool_ops = &loopback_ethtool_ops, 220 .ethtool_ops = &loopback_ethtool_ops,
221}; 221};
222 222