diff mbox series

x86/sched: Drop unused includes from credit2.c

Message ID 20241218125324.75973-1-andrew.cooper3@citrix.com (mailing list archive)
State New
Headers show
Series x86/sched: Drop unused includes from credit2.c | expand

Commit Message

Andrew Cooper Dec. 18, 2024, 12:53 p.m. UTC
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(-)


base-commit: 171cb318deaa0be786cc3af3599c72e8909e60f9
prerequisite-patch-id: c484a8a8e245130614407e7d25fdc27ab2e62cd3

Comments

Jürgen Groß Dec. 18, 2024, 2:58 p.m. UTC | #1
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
diff mbox series

Patch

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"