Message ID | 20221006120136.27020-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 3030cbff67a7ae12b4b7bf69a605699372424f41 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [-next] net: enetc: Remove duplicated include in enetc_qos.c | expand |
Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Thu, 6 Oct 2022 20:01:36 +0800 you wrote: > net/pkt_sched.h is included twice in enetc_qos.c, > remove one of them. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2334 > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > > [...] Here is the summary with links: - [-next] net: enetc: Remove duplicated include in enetc_qos.c https://git.kernel.org/netdev/net/c/3030cbff67a7 You are awesome, thank you!
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_qos.c b/drivers/net/ethernet/freescale/enetc/enetc_qos.c index e6416332ec79..a842e1999122 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc_qos.c +++ b/drivers/net/ethernet/freescale/enetc/enetc_qos.c @@ -7,7 +7,6 @@ #include <linux/math64.h> #include <linux/refcount.h> #include <net/pkt_cls.h> -#include <net/pkt_sched.h> #include <net/tc_act/tc_gate.h> static u16 enetc_get_max_gcl_len(struct enetc_hw *hw)
net/pkt_sched.h is included twice in enetc_qos.c, remove one of them. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2334 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> --- drivers/net/ethernet/freescale/enetc/enetc_qos.c | 1 - 1 file changed, 1 deletion(-)