OSDN Git Service

net: enetc: Remove duplicated include in enetc_qos.c
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 6 Oct 2022 12:01:36 +0000 (20:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2022 07:45:16 +0000 (08:45 +0100)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_qos.c

index e641633..a842e19 100644 (file)
@@ -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)