[PATCH] x86/sched: Drop unused includes from credit2.c

Andrew Cooper posted 1 patch 1 month, 2 weeks ago
Failed in applying to current master (apply log)
xen/common/sched/credit2.c | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
[PATCH] x86/sched: Drop unused includes from credit2.c
Posted by Andrew Cooper 1 month, 2 weeks ago
Sort the remaining includes.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Juergen Gross <jgross@suse.com>
---
 xen/common/sched/credit2.c | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/xen/common/sched/credit2.c b/xen/common/sched/credit2.c
index 4b2ef034ca84..0a83f237259f 100644
--- a/xen/common/sched/credit2.c
+++ b/xen/common/sched/credit2.c
@@ -10,22 +10,18 @@
  * Based on an earlier verson by Emmanuel Ackaouy.
  */
 
+#include <xen/errno.h>
 #include <xen/init.h>
 #include <xen/lib.h>
 #include <xen/param.h>
+#include <xen/perfc.h>
 #include <xen/sched.h>
 #include <xen/sections.h>
-#include <xen/domain.h>
-#include <xen/delay.h>
-#include <xen/event.h>
-#include <xen/time.h>
-#include <xen/perfc.h>
 #include <xen/softirq.h>
-#include <asm/div64.h>
-#include <xen/errno.h>
+#include <xen/time.h>
 #include <xen/trace.h>
-#include <xen/cpu.h>
-#include <xen/keyhandler.h>
+
+#include <asm/div64.h>
 
 #include "private.h"
 

base-commit: 171cb318deaa0be786cc3af3599c72e8909e60f9
prerequisite-patch-id: c484a8a8e245130614407e7d25fdc27ab2e62cd3
-- 
2.39.5
Re: [PATCH] x86/sched: Drop unused includes from credit2.c
Posted by Jürgen Groß 1 month, 2 weeks ago
On 18.12.24 13:53, Andrew Cooper wrote:
> Sort the remaining includes.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Juergen Gross <jgross@suse.com>


Juergen