mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
935e2218d5
commit
583d4a6885
2 changed files with 13 additions and 148 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue