From patchwork Tue Mar 25 16:55:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 27052 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3CC5520539 for ; Tue, 25 Mar 2014 16:57:28 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f10sf1841282yha.7 for ; Tue, 25 Mar 2014 09:57:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :list-archive:content-type:content-transfer-encoding; bh=TAECXCXsARq9I0rA82+0/diBBLbKrU5OzeV5pau33uY=; b=VLwK0hVnqOAtfKHSkRjWABDXRRWipa/ZB5wGlUK0Y3wvVSN1/4iaHaVKRolGdwt5wb Z529gJFAwKeLCdaUscFqSa3XJsrks+m7Z/EGabLfKLXrOxuxcBpJc8F2KCB9iN3+sLYk 7ifcBdkEaoCScBSP6KK1XwHiqJYD32XDzx/l+T6BYqxEs7d5mUPllJ0W6TWUPz5ENNzT BH8sfMyYPWk1CJTQLEVYvqlNFB4dI3/1gDmMyjoHYQ1JAVLlD9k60xMjmdfXoA2N7Bq+ jSwRO701uSiqrfwP4g2CofjO9faeTT5UIt8pGfTsJLg5PuTgaAQsRLr5r/+Vaq+NxtnU SEfg== X-Gm-Message-State: ALoCoQlI/gUX9EOHyz6ONj35Gfp2sUsroQdG9hkvYDDB9Ju1wmWCP7+0+xk1yadjvSsu2sHgylHw X-Received: by 10.236.144.102 with SMTP id m66mr27124596yhj.50.1395766648431; Tue, 25 Mar 2014 09:57:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.8 with SMTP id c8ls266114qgc.56.gmail; Tue, 25 Mar 2014 09:57:28 -0700 (PDT) X-Received: by 10.220.10.2 with SMTP id n2mr1996975vcn.26.1395766648364; Tue, 25 Mar 2014 09:57:28 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id kp12si3865275veb.66.2014.03.25.09.57.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 09:57:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id oz11so862955veb.19 for ; Tue, 25 Mar 2014 09:57:28 -0700 (PDT) X-Received: by 10.52.34.4 with SMTP id v4mr769478vdi.42.1395766648289; Tue, 25 Mar 2014 09:57:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp320317vck; Tue, 25 Mar 2014 09:57:28 -0700 (PDT) X-Received: by 10.229.53.136 with SMTP id m8mr43671169qcg.4.1395766647909; Tue, 25 Mar 2014 09:57:27 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id v6si7585615qas.229.2014.03.25.09.57.27 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Mar 2014 09:57:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSUe1-0008KC-3x; Tue, 25 Mar 2014 16:56:09 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSUdz-0008J3-TV for xen-devel@lists.xenproject.org; Tue, 25 Mar 2014 16:56:08 +0000 Received: from [193.109.254.147:8626] by server-12.bemta-14.messagelabs.com id FB/E9-27473-725B1335; Tue, 25 Mar 2014 16:56:07 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-7.tower-27.messagelabs.com!1395766565!4083466!1 X-Originating-IP: [74.125.83.46] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20785 invoked from network); 25 Mar 2014 16:56:05 -0000 Received: from mail-ee0-f46.google.com (HELO mail-ee0-f46.google.com) (74.125.83.46) by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 25 Mar 2014 16:56:05 -0000 Received: by mail-ee0-f46.google.com with SMTP id t10so675722eei.5 for ; Tue, 25 Mar 2014 09:56:04 -0700 (PDT) X-Received: by 10.15.91.77 with SMTP id r53mr3874978eez.70.1395766564839; Tue, 25 Mar 2014 09:56:04 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id h47sm33377501eey.13.2014.03.25.09.56.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Mar 2014 09:56:02 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 25 Mar 2014 16:55:14 +0000 Message-Id: <1395766541-23979-8-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> Cc: George Dunlap , stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com Subject: [Xen-devel] [PATCH 07/34] xen/common: sched_sedf: Remove unused functions X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: Clang 3.5 will fail to compile xen/common/sched_sedf.c because some function are not used: sched_sedf.c:141:20: error: unused function 'extraq_add_head' [-Werror,-Wunused-function] static inline void extraq_add_head(struct vcpu *d, int i) ^ sched_sedf.c:147:20: error: unused function 'extraq_add_tail' [-Werror,-Wunused-function] static inline void extraq_add_tail(struct vcpu *d, int i) Signed-off-by: Julien Grall Cc: George Dunlap Acked-by: George Dunlap --- xen/common/sched_sedf.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c index 7c24171..0c9011a 100644 --- a/xen/common/sched_sedf.c +++ b/xen/common/sched_sedf.c @@ -138,18 +138,6 @@ static inline int extraq_on(struct vcpu *d, int i) (EXTRALIST(d,i)->next != EXTRALIST(d,i))); } -static inline void extraq_add_head(struct vcpu *d, int i) -{ - list_add(EXTRALIST(d,i), EXTRAQ(d->processor,i)); - ASSERT(extraq_on(d, i)); -} - -static inline void extraq_add_tail(struct vcpu *d, int i) -{ - list_add_tail(EXTRALIST(d,i), EXTRAQ(d->processor,i)); - ASSERT(extraq_on(d, i)); -} - static inline void extraq_del(struct vcpu *d, int i) { struct list_head *list = EXTRALIST(d,i);