sched_null: superficial clean-ups

* Remove unused dependency 'keyhandler.h'
* Make sched_null_def static

Signed-off-by: Baodong Chen <chenbaodong@mxnavi.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
This commit is contained in:
Baodong Chen authored and Jan Beulich committed 2019-06-03 17:56:20 +02:00
1 parent 2223d34664
commit 844aa0a13d
1 file changed
+1 -2
+1 -2
View File
@@ -31,7 +31,6 @@
#include <xen/sched.h>
#include <xen/sched-if.h>
#include <xen/softirq.h>
#include <xen/keyhandler.h>
#include <xen/trace.h>
/*
@@ -871,7 +870,7 @@ static void null_dump(const struct scheduler *ops)
spin_unlock_irqrestore(&prv->lock, flags);
}
const struct scheduler sched_null_def = {
static const struct scheduler sched_null_def = {
.name = "null Scheduler",
.opt_name = "null",
.sched_id = XEN_SCHEDULER_NULL,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.