drivers: net: remove <net/busy_poll.h> inclusion when not needed
Drivers using generic NAPI interface no longer need to include <net/busy_poll.h>, since busy polling was moved to core networking stack long ago. See commit 79e7fff47b7b ("net: remove support for per driver ndo_busy_poll()") for reference. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f802912d42
commit
55469bc6b5
@ -119,7 +119,6 @@
|
||||
#include <linux/tcp.h>
|
||||
#include <linux/if_vlan.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <net/busy_poll.h>
|
||||
#include <linux/clk.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/net_tstamp.h>
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <net/tcp.h>
|
||||
#include <net/ipv6.h>
|
||||
#include <net/ip6_checksum.h>
|
||||
#include <net/busy_poll.h>
|
||||
#include <linux/prefetch.h>
|
||||
#include "bnx2x_cmn.h"
|
||||
#include "bnx2x_init.h"
|
||||
|
@ -2,7 +2,6 @@
|
||||
/* Copyright(c) 2013 - 2018 Intel Corporation. */
|
||||
|
||||
#include <linux/prefetch.h>
|
||||
#include <net/busy_poll.h>
|
||||
#include <linux/bpf_trace.h>
|
||||
#include <net/xdp.h>
|
||||
#include "i40e.h"
|
||||
|
@ -2,7 +2,6 @@
|
||||
/* Copyright(c) 2013 - 2018 Intel Corporation. */
|
||||
|
||||
#include <linux/prefetch.h>
|
||||
#include <net/busy_poll.h>
|
||||
|
||||
#include "iavf.h"
|
||||
#include "iavf_trace.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "ixgbe_ipsec.h"
|
||||
|
||||
#include <net/xdp.h>
|
||||
#include <net/busy_poll.h>
|
||||
|
||||
/* common prefix used by pr_<> macros */
|
||||
#undef pr_fmt
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/hash.h>
|
||||
#include <net/ip.h>
|
||||
#include <net/busy_poll.h>
|
||||
#include <net/vxlan.h>
|
||||
#include <net/devlink.h>
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <net/busy_poll.h>
|
||||
#include <linux/bpf.h>
|
||||
#include <linux/bpf_trace.h>
|
||||
#include <linux/mlx4/cq.h>
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include <linux/ip.h>
|
||||
#include <linux/ipv6.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <net/busy_poll.h>
|
||||
#include <net/ip6_checksum.h>
|
||||
#include <net/page_pool.h>
|
||||
#include <net/inet_ecn.h>
|
||||
|
@ -70,7 +70,6 @@
|
||||
#include <net/tcp.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/processor.h>
|
||||
#include <net/busy_poll.h>
|
||||
|
||||
#include "myri10ge_mcp.h"
|
||||
#include "myri10ge_mcp_gen_header.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user