projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2817273
)
net/ipv4/ip_output.c: Removal of unused variable in ip_fragment()
author
George Kadianakis
<
[email protected]
>
Tue, 6 Jul 2010 11:44:12 +0000
(11:44 +0000)
committer
David S. Miller
<
[email protected]
>
Wed, 7 Jul 2010 22:44:59 +0000
(15:44 -0700)
Removal of unused integer variable in ip_fragment().
Signed-off-by: George Kadianakis <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/ip_output.c
patch
|
blob
|
history
diff --git
a/net/ipv4/ip_output.c
b/net/ipv4/ip_output.c
index d6478521128e34a8e5b9429db464b772df343727..663cb2acb39ee581847b9d5e446eb2396fa66e70 100644
(file)
--- 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)
int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))
{
struct iphdr *iph;
- int raw = 0;
int ptr;
struct net_device *dev;
struct sk_buff *skb2;
@@
-580,7
+579,7
@@
int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))
slow_path:
left = skb->len - hlen; /* Space per frame */
- ptr =
raw + hlen;
/* Where to start from */
+ ptr =
hlen;
/* Where to start from */
/* for bridged IP traffic encapsulated inside f.e. a vlan header,
* we need to make room for the encapsulating header