Merge branch 'next/cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[pandora-kernel.git] / drivers / s390 / net / ctcm_main.c
index c189296..426787e 100644 (file)
@@ -672,7 +672,6 @@ static int ctcmpc_transmit_skb(struct channel *ch, struct sk_buff *skb)
        int ccw_idx;
        unsigned long hi;
        unsigned long saveflags = 0;    /* avoids compiler warning */
-       __u16 block_len;
 
        CTCM_PR_DEBUG("Enter %s: %s, cp=%i ch=0x%p id=%s state=%s\n",
                        __func__, dev->name, smp_processor_id(), ch,
@@ -719,7 +718,6 @@ static int ctcmpc_transmit_skb(struct channel *ch, struct sk_buff *skb)
         */
        atomic_inc(&skb->users);
 
-       block_len = skb->len + TH_HEADER_LENGTH + PDU_HEADER_LENGTH;
        /*
         * IDAL support in CTCM is broken, so we have to
         * care about skb's above 2G ourselves.