summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/neterion/vxge/vxge-main.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-04-29 00:23:20 +0300
committerDavid S. Miller <davem@davemloft.net>2022-04-29 13:56:42 +0300
commit288696565f2d2f04ad7eddd599aa113422b96613 (patch)
treecc41dfdce737ca56be066c0cac80f6ca971378f1 /drivers/net/ethernet/neterion/vxge/vxge-main.h
parentbbbe6ecbc36d55e0ac49251f52f3ccffa51ec32a (diff)
downloadlinux-288696565f2d2f04ad7eddd599aa113422b96613.tar.xz
eth: vxge: remove a copy of the NAPI_POLL_WEIGHT define
Defining local versions of NAPI_POLL_WEIGHT with the same values in the drivers just makes refactoring harder. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/neterion/vxge/vxge-main.h')
-rw-r--r--drivers/net/ethernet/neterion/vxge/vxge-main.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.h b/drivers/net/ethernet/neterion/vxge/vxge-main.h
index 63f65193dd49..da9d2c191828 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-main.h
+++ b/drivers/net/ethernet/neterion/vxge/vxge-main.h
@@ -167,8 +167,6 @@ struct macInfo {
struct vxge_config {
int tx_pause_enable;
int rx_pause_enable;
-
-#define NEW_NAPI_WEIGHT 64
int napi_weight;
int intr_type;
#define INTA 0