diff options
Diffstat (limited to 'drivers/s390/net/ctcm_main.c')
-rw-r--r-- | drivers/s390/net/ctcm_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/net/ctcm_main.c b/drivers/s390/net/ctcm_main.c index c189296763a4..426787efc492 100644 --- a/drivers/s390/net/ctcm_main.c +++ b/drivers/s390/net/ctcm_main.c | |||
@@ -672,7 +672,6 @@ static int ctcmpc_transmit_skb(struct channel *ch, struct sk_buff *skb) | |||
672 | int ccw_idx; | 672 | int ccw_idx; |
673 | unsigned long hi; | 673 | unsigned long hi; |
674 | unsigned long saveflags = 0; /* avoids compiler warning */ | 674 | unsigned long saveflags = 0; /* avoids compiler warning */ |
675 | __u16 block_len; | ||
676 | 675 | ||
677 | CTCM_PR_DEBUG("Enter %s: %s, cp=%i ch=0x%p id=%s state=%s\n", | 676 | CTCM_PR_DEBUG("Enter %s: %s, cp=%i ch=0x%p id=%s state=%s\n", |
678 | __func__, dev->name, smp_processor_id(), ch, | 677 | __func__, dev->name, smp_processor_id(), ch, |
@@ -719,7 +718,6 @@ static int ctcmpc_transmit_skb(struct channel *ch, struct sk_buff *skb) | |||
719 | */ | 718 | */ |
720 | atomic_inc(&skb->users); | 719 | atomic_inc(&skb->users); |
721 | 720 | ||
722 | block_len = skb->len + TH_HEADER_LENGTH + PDU_HEADER_LENGTH; | ||
723 | /* | 721 | /* |
724 | * IDAL support in CTCM is broken, so we have to | 722 | * IDAL support in CTCM is broken, so we have to |
725 | * care about skb's above 2G ourselves. | 723 | * care about skb's above 2G ourselves. |