From: Andrew Morton <[EMAIL PROTECTED]>

net/bridge/br_netfilter.c: In function `br_nf_pre_routing':
net/bridge/br_netfilter.c:427: warning: unused variable `vhdr'
net/bridge/br_netfilter.c:445: warning: unused variable `vhdr'


Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 net/bridge/br_netfilter.c |    2 --
 1 files changed, 2 deletions(-)

diff -puN net/bridge/br_netfilter.c~git-net-br_netfilter-warning-fixes 
net/bridge/br_netfilter.c
--- devel/net/bridge/br_netfilter.c~git-net-br_netfilter-warning-fixes  
2006-03-11 19:20:10.000000000 -0800
+++ devel-akpm/net/bridge/br_netfilter.c        2006-03-11 19:20:10.000000000 
-0800
@@ -424,7 +424,6 @@ static unsigned int br_nf_pre_routing(un
                        goto out;
 
                if (skb->protocol == __constant_htons(ETH_P_8021Q)) {
-                       u8 *vhdr = skb->data;
                        skb_pull_rcsum(skb, VLAN_HLEN);
                        skb->nh.raw += VLAN_HLEN;
                }
@@ -442,7 +441,6 @@ static unsigned int br_nf_pre_routing(un
                goto out;
 
        if (skb->protocol == __constant_htons(ETH_P_8021Q)) {
-               u8 *vhdr = skb->data;
                skb_pull_rcsum(skb, VLAN_HLEN);
                skb->nh.raw += VLAN_HLEN;
        }
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to