summaryrefslogtreecommitdiffstats
path: root/include/linux/fs_enet_pd.h
diff options
context:
space:
mode:
authorLEROY Christophe <christophe.leroy@c-s.fr>2014-10-07 15:04:57 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-08 16:01:41 -0400
commit583d4a6885cfa75a3d189f6bb69b5c545e961c75 (patch)
treef91db118ccfb64a9b0dbc596aacb451b3e577f5a /include/linux/fs_enet_pd.h
parent935e2218d5a0fade1645982fb034eee37f100f11 (diff)
downloadlinux-583d4a6885cfa75a3d189f6bb69b5c545e961c75.tar.gz
linux-583d4a6885cfa75a3d189f6bb69b5c545e961c75.tar.bz2
linux-583d4a6885cfa75a3d189f6bb69b5c545e961c75.zip
net: fs_enet: Remove non NAPI RX
In the probe function, use_napi is inconditionnaly set to 1. This patch removes all the code which is conditional to !use_napi, and removes use_napi which has then become useless. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fs_enet_pd.h')
-rw-r--r--include/linux/fs_enet_pd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs_enet_pd.h b/include/linux/fs_enet_pd.h
index efb05961bdd8..77d783f71527 100644
--- a/include/linux/fs_enet_pd.h
+++ b/include/linux/fs_enet_pd.h
@@ -139,7 +139,6 @@ struct fs_platform_info {
int rx_ring, tx_ring; /* number of buffers on rx */
__u8 macaddr[ETH_ALEN]; /* mac address */
int rx_copybreak; /* limit we copy small frames */
- int use_napi; /* use NAPI */
int napi_weight; /* NAPI weight */
int use_rmii; /* use RMII mode */