diff options
author | Ian Morris <ipm@chirality.org.uk> | 2014-08-24 16:53:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-25 01:37:52 -0400 |
commit | 67ba4152e8b77eada6a9c64e3c2c84d6112794fc (patch) | |
tree | 833bd7925ed3b69ef65f759c3f806cdaa8643d00 /net/ipv6/ip6_input.c | |
parent | a9b0b2faa8ed299ca617a317e2abb9ea1bf0e733 (diff) |
ipv6: White-space cleansing : Line Layouts
This patch makes no changes to the logic of the code but simply addresses
coding style issues as detected by checkpatch.
Both objdump and diff -w show no differences.
A number of items are addressed in this patch:
* Multiple spaces converted to tabs
* Spaces before tabs removed.
* Spaces in pointer typing cleansed (char *)foo etc.
* Remove space after sizeof
* Ensure spacing around comparators such as if statements.
Signed-off-by: Ian Morris <ipm@chirality.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_input.c')
-rw-r--r-- | net/ipv6/ip6_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c index 51d54dc376f3..a3084ab5df6c 100644 --- a/net/ipv6/ip6_input.c +++ b/net/ipv6/ip6_input.c | |||
@@ -15,8 +15,8 @@ | |||
15 | */ | 15 | */ |
16 | /* Changes | 16 | /* Changes |
17 | * | 17 | * |
18 | * Mitsuru KANDA @USAGI and | 18 | * Mitsuru KANDA @USAGI and |
19 | * YOSHIFUJI Hideaki @USAGI: Remove ipv6_parse_exthdrs(). | 19 | * YOSHIFUJI Hideaki @USAGI: Remove ipv6_parse_exthdrs(). |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
@@ -65,7 +65,7 @@ int ip6_rcv_finish(struct sk_buff *skb) | |||
65 | int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) | 65 | int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) |
66 | { | 66 | { |
67 | const struct ipv6hdr *hdr; | 67 | const struct ipv6hdr *hdr; |
68 | u32 pkt_len; | 68 | u32 pkt_len; |
69 | struct inet6_dev *idev; | 69 | struct inet6_dev *idev; |
70 | struct net *net = dev_net(skb->dev); | 70 | struct net *net = dev_net(skb->dev); |
71 | 71 | ||