[PATCH -next] net: enetc: Remove duplicated include in enetc_qos.c

Yang Li posted 1 patch 3 years, 6 months ago
drivers/net/ethernet/freescale/enetc/enetc_qos.c | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] net: enetc: Remove duplicated include in enetc_qos.c
Posted by Yang Li 3 years, 6 months ago
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(-)

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)
-- 
2.20.1.7.g153144c
Re: [PATCH -next] net: enetc: Remove duplicated include in enetc_qos.c
Posted by patchwork-bot+netdevbpf@kernel.org 3 years, 6 months ago
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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html