From nobody Sun May 19 02:38:05 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1559208934; cv=none; d=zoho.com; s=zohoarc; b=WXZZYexINmK8Gh2fmfL6FoM7dzRIyD5sHJVyZd9EbyREEjOSPlNbWvpWL3NTj8dwijPaqddmEQOwhRIVKVeE0yeA6iSAbsNHBiLgYQcO1iNgCECJ/JV9HBvquWytljGAHpKD5RsBJ1Iz66xKAQUerXZeaDnOB9XiXMYZCywiZlg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559208934; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=OzKdH81tfwveQZ6v3liaSpr6yfkxOuw1th62tX+Glcw=; b=m6xWQHjXUk4VBMRO7DmjpbcaP5XOQq0OsNYHG/f+sa+kKwf2dZVY73TrQfJkWInL1H5GhWLLJityAwwjNA/CWdny4QI33fBzAPBYGWRx579NSETI4CrZOwGWnQkzD35ynPEi4QXz5bwDhatHO37QVSePqYA9b2V1Uc6xWZBeowQ= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1559208933859170.21116170639937; Thu, 30 May 2019 02:35:33 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hWHRd-0006SL-Pa; Thu, 30 May 2019 09:33:57 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hWHRc-0006SG-Iz for xen-devel@lists.xenproject.org; Thu, 30 May 2019 09:33:56 +0000 Received: from mxnavi-mail.mxnavi.com (unknown [116.90.87.199]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 09d05a13-82be-11e9-8980-bc764e045a96; Thu, 30 May 2019 09:33:54 +0000 (UTC) Received: from localhost.localdomain (61.161.186.150) by mxnavi-mail.mxnavi.com (116.90.87.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Thu, 30 May 2019 17:31:41 +0800 X-Inumbo-ID: 09d05a13-82be-11e9-8980-bc764e045a96 From: Baodong Chen To: Date: Thu, 30 May 2019 17:33:14 +0800 Message-ID: <1559208794-4549-1-git-send-email-chenbaodong@mxnavi.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [61.161.186.150] X-ClientProxiedBy: mxnavi-mail.mxnavi.com (116.90.87.199) To mxnavi-mail.mxnavi.com (116.90.87.199) Subject: [Xen-devel] [PATCH] xen/sched_null: Superficial clean-ups X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Baodong Chen , George Dunlap , Dario Faggioli Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" * Remove unused dependency 'keyhandler.h' * Make sched_null_def static Signed-off-by: Baodong Chen Reviewed-by: George Dunlap --- xen/common/sched_null.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/common/sched_null.c b/xen/common/sched_null.c index a59dbb2..c9700f1 100644 --- a/xen/common/sched_null.c +++ b/xen/common/sched_null.c @@ -31,7 +31,6 @@ #include #include #include -#include #include =20 /* @@ -871,7 +870,7 @@ static void null_dump(const struct scheduler *ops) spin_unlock_irqrestore(&prv->lock, flags); } =20 -const struct scheduler sched_null_def =3D { +static const struct scheduler sched_null_def =3D { .name =3D "null Scheduler", .opt_name =3D "null", .sched_id =3D XEN_SCHEDULER_NULL, --=20 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel