diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-26 18:29:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 18:56:07 +0200 |
commit | 5a5312bdbaddff57e5d24a2b24f9dd5a0e219ce1 (patch) | |
tree | cde45b1be359cfb3f9f58753b86c9f78b7ecdba5 /drivers/s390/net | |
parent | s390/qeth: replace open-coded skb_queue_walk() (diff) | |
download | linux-5a5312bdbaddff57e5d24a2b24f9dd5a0e219ce1.tar.xz linux-5a5312bdbaddff57e5d24a2b24f9dd5a0e219ce1.zip |
s390/qeth: remove additional skb refcount
This was presumably left over from back when qeth recursed into
dev_queue_xmit().
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index c5c40c6d8b7d..012519ffd8de 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -1211,7 +1211,6 @@ static void qeth_release_skbs(struct qeth_qdio_out_buffer *buf) iucv->sk_txnotify(skb, TX_NOTIFY_GENERALERROR); } } - refcount_dec(&skb->users); } __skb_queue_purge(&buf->skb_list); } @@ -3988,7 +3987,6 @@ static int qeth_fill_buffer(struct qeth_qdio_out_q *queue, bool is_first_elem = true; int flush_cnt = 0; - refcount_inc(&skb->users); __skb_queue_tail(&buf->skb_list, skb); /* build dedicated header element */ |