diff options
author | George Kadianakis <desnacked@gmail.com> | 2010-07-06 07:44:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-07 18:44:59 -0400 |
commit | 49085bd7d498c47d635851cfda22627b085cd9af (patch) | |
tree | 19b20b84dfb32a278fdbb9ced0915231a220108e /net/ipv4 | |
parent | 28172739f0a276eb8d6ca917b3974c2edb036da3 (diff) |
net/ipv4/ip_output.c: Removal of unused variable in ip_fragment()
Removal of unused integer variable in ip_fragment().
Signed-off-by: George Kadianakis <desnacked@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ip_output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index d6478521128e..663cb2acb39e 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
@@ -442,7 +442,6 @@ static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from) | |||
442 | int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *)) | 442 | int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *)) |
443 | { | 443 | { |
444 | struct iphdr *iph; | 444 | struct iphdr *iph; |
445 | int raw = 0; | ||
446 | int ptr; | 445 | int ptr; |
447 | struct net_device *dev; | 446 | struct net_device *dev; |
448 | struct sk_buff *skb2; | 447 | struct sk_buff *skb2; |
@@ -580,7 +579,7 @@ int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *)) | |||
580 | 579 | ||
581 | slow_path: | 580 | slow_path: |
582 | left = skb->len - hlen; /* Space per frame */ | 581 | left = skb->len - hlen; /* Space per frame */ |
583 | ptr = raw + hlen; /* Where to start from */ | 582 | ptr = hlen; /* Where to start from */ |
584 | 583 | ||
585 | /* for bridged IP traffic encapsulated inside f.e. a vlan header, | 584 | /* for bridged IP traffic encapsulated inside f.e. a vlan header, |
586 | * we need to make room for the encapsulating header | 585 | * we need to make room for the encapsulating header |