diff options
author | Roman Yeryomin <leroi.lists@gmail.com> | 2017-09-17 20:24:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-18 16:50:06 -0700 |
commit | d609d2893c25a3336422d06e1aff50d13ba5b7f2 (patch) | |
tree | 5a9103b406fcb81267a9e3e75a9df4c0719e0cd1 | |
parent | 364a97f5d1ae3102d53a3ad1efea3fa546781f78 (diff) | |
download | linux-stable-d609d2893c25a3336422d06e1aff50d13ba5b7f2.tar.gz linux-stable-d609d2893c25a3336422d06e1aff50d13ba5b7f2.tar.bz2 linux-stable-d609d2893c25a3336422d06e1aff50d13ba5b7f2.zip |
net: korina: use NAPI_POLL_WEIGHT
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/korina.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index e5466e19994a..c210add9b654 100644 --- a/drivers/net/ethernet/korina.c +++ b/drivers/net/ethernet/korina.c @@ -1082,7 +1082,7 @@ static int korina_probe(struct platform_device *pdev) dev->netdev_ops = &korina_netdev_ops; dev->ethtool_ops = &netdev_ethtool_ops; dev->watchdog_timeo = TX_TIMEOUT; - netif_napi_add(dev, &lp->napi, korina_poll, 64); + netif_napi_add(dev, &lp->napi, korina_poll, NAPI_POLL_WEIGHT); lp->phy_addr = (((lp->rx_irq == 0x2c? 1:0) << 8) | 0x05); lp->mii_if.dev = dev; |