From nobody Sun May 5 19:49:38 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=1559199626; cv=none; d=zoho.com; s=zohoarc; b=PnvYbjTvJKvzL8ZUf/bH1b8BAvQRMfS8/iAtzr/67iq7oXBn4pDlzHMMoPVwMcFqfm/ogDfX2cwCjApBaqjPL74NIuF3OwPenUVx+t3DFw2ERalIrP+UvZaHg1Aeih2KzDlUUG6xkpImDBOC5Y0beTjcYK4RWv++hI+2VOGzFAY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559199626; 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=u6AZmEjR7O9D1lsQOr3/7/xSNBd0oIraFFjEOKjuhDU=; b=hEb6qDI/kcnaHsCjTLUm6Iucww3eR1OHb5+O1sx4S0lf1cT6OMJBwblTTnjvzceUtscSbZZ7XI+CFodkKUt++NwppK+DfG6W20Bj7b0s9O+5iU0unGN1Y94iN4ySSCjapy8GPJTWNRiOIzaDSqvfslfipsXzRLErwXyEmOW9sec= 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 1559199625950375.3613167946879; Thu, 30 May 2019 00:00:25 -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 1hWF1a-0001xA-T5; Thu, 30 May 2019 06:58:54 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hWDx1-0005jL-Gz for xen-devel@lists.xenproject.org; Thu, 30 May 2019 05:50:07 +0000 Received: from mxnavi-mail.mxnavi.com (unknown [116.90.87.199]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id c217aa42-829e-11e9-afa5-075699f3fbd5; Thu, 30 May 2019 05:50:00 +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 13:47:43 +0800 X-Inumbo-ID: c217aa42-829e-11e9-afa5-075699f3fbd5 From: Baodong Chen To: Date: Thu, 30 May 2019 13:47:24 +0800 Message-ID: <1559195244-7692-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) X-Mailman-Approved-At: Thu, 30 May 2019 06:58:53 +0000 Subject: [Xen-devel] [PATCH] xen: 'keyhandler' is not used in null scheduler 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" So remove 'keyhandler.h' include. Also add 'static' prefix for 'schud_bull_def' 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