Commit ddb0ac51 authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller

s390/qeth: remove RX seqno in skb->cb

It's unclear what exact purpose this seqno may have served in the past.
But it's certainly no longer used anymore, as the following
napi_gro_receive() will straight away clear this part of the cb again.
Suggested-by: default avatarKarsten Graul <kgraul@linux.ibm.com>
Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46b83629
...@@ -652,7 +652,6 @@ struct qeth_seqno { ...@@ -652,7 +652,6 @@ struct qeth_seqno {
__u32 pdu_hdr; __u32 pdu_hdr;
__u32 pdu_hdr_ack; __u32 pdu_hdr_ack;
__u16 ipa; __u16 ipa;
__u32 pkt_seqno;
}; };
struct qeth_reply { struct qeth_reply {
......
...@@ -332,8 +332,6 @@ static int qeth_l2_process_inbound_buffer(struct qeth_card *card, ...@@ -332,8 +332,6 @@ static int qeth_l2_process_inbound_buffer(struct qeth_card *card,
case QETH_HEADER_TYPE_LAYER2: case QETH_HEADER_TYPE_LAYER2:
skb->protocol = eth_type_trans(skb, skb->dev); skb->protocol = eth_type_trans(skb, skb->dev);
qeth_rx_csum(card, skb, hdr->hdr.l2.flags[1]); qeth_rx_csum(card, skb, hdr->hdr.l2.flags[1]);
if (skb->protocol == htons(ETH_P_802_2))
*((__u32 *)skb->cb) = ++card->seqno.pkt_seqno;
len = skb->len; len = skb->len;
napi_gro_receive(&card->napi, skb); napi_gro_receive(&card->napi, skb);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment