| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Lance ethernet driver for the MIPS processor based |
|---|
| 3 | 4 | * DECstation family |
|---|
| .. | .. |
|---|
| 607 | 608 | len = (*rds_ptr(rd, mblength, lp->type) & 0xfff) - 4; |
|---|
| 608 | 609 | skb = netdev_alloc_skb(dev, len + 2); |
|---|
| 609 | 610 | |
|---|
| 610 | | - if (skb == 0) { |
|---|
| 611 | + if (!skb) { |
|---|
| 611 | 612 | dev->stats.rx_dropped++; |
|---|
| 612 | 613 | *rds_ptr(rd, mblength, lp->type) = 0; |
|---|
| 613 | 614 | *rds_ptr(rd, rmd1, lp->type) = |
|---|
| .. | .. |
|---|
| 883 | 884 | return status; |
|---|
| 884 | 885 | } |
|---|
| 885 | 886 | |
|---|
| 886 | | -static void lance_tx_timeout(struct net_device *dev) |
|---|
| 887 | +static void lance_tx_timeout(struct net_device *dev, unsigned int txqueue) |
|---|
| 887 | 888 | { |
|---|
| 888 | 889 | struct lance_private *lp = netdev_priv(dev); |
|---|
| 889 | 890 | volatile struct lance_regs *ll = lp->ll; |
|---|