ag71xx: Switch from driver to kernel macro for NAPI_WEIGHT.
authorRosen Penev <rosenp@gmail.com>
Tue, 17 Oct 2017 16:25:56 +0000 (09:25 -0700)
committerJohn Crispin <john@phrozen.org>
Mon, 6 Nov 2017 15:39:41 +0000 (16:39 +0100)
commite555153807777539c9b97f8d13563135592d68e7
treeb69d407607852d508dd0468ca47a410c90816a58
parent890e668273745a298938c4abb39c5e5804c0cdd5
ag71xx: Switch from driver to kernel macro for NAPI_WEIGHT.

NAPI_POLL_WEIGHT was introduced in the kernel for exactly this purpose 5 years ago.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_debugfs.c
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c