.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | | - * This program is free software; you can redistribute it and/or |
---|
3 | | - * modify it under the terms of the GNU General Public License |
---|
4 | | - * as published by the Free Software Foundation; either version |
---|
5 | | - * 2 of the License, or (at your option) any later version. |
---|
6 | 3 | * |
---|
7 | 4 | * (c) Copyright 1998 Alan Cox <alan@lxorguk.ukuu.org.uk> |
---|
8 | 5 | * (c) Copyright 2000, 2001 Red Hat Inc |
---|
.. | .. |
---|
705 | 702 | irqreturn_t z8530_interrupt(int irq, void *dev_id) |
---|
706 | 703 | { |
---|
707 | 704 | struct z8530_dev *dev=dev_id; |
---|
708 | | - u8 uninitialized_var(intr); |
---|
| 705 | + u8 intr; |
---|
709 | 706 | static volatile int locker=0; |
---|
710 | 707 | int work=0; |
---|
711 | 708 | struct z8530_irqhandler *irqs; |
---|
.. | .. |
---|
1536 | 1533 | z8530_tx_begin(c); |
---|
1537 | 1534 | c->netdevice->stats.tx_packets++; |
---|
1538 | 1535 | c->netdevice->stats.tx_bytes += skb->len; |
---|
1539 | | - dev_kfree_skb_irq(skb); |
---|
| 1536 | + dev_consume_skb_irq(skb); |
---|
1540 | 1537 | } |
---|
1541 | 1538 | |
---|
1542 | 1539 | /** |
---|