ehea: Remove unused tcp_end field in send WQ
[pandora-kernel.git] / drivers / net / ethernet / ibm / ehea / ehea_main.c
index bfd08b2..adb462d 100644 (file)
@@ -2001,7 +2001,6 @@ static void xmit_common(struct sk_buff *skb, struct ehea_swqe *swqe)
 
                swqe->tcp_offset = swqe->ip_end + 1 +
                                   offsetof(struct udphdr, check);
-               swqe->tcp_end = skb->len - 1;
                break;
 
        case IPPROTO_TCP:
@@ -2010,7 +2009,6 @@ static void xmit_common(struct sk_buff *skb, struct ehea_swqe *swqe)
 
                swqe->tcp_offset = swqe->ip_end + 1 +
                                   offsetof(struct tcphdr, check);
-               swqe->tcp_end = skb->len - 1;
                break;
        }
 }