From patchwork Tue Aug 16 23:28:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Goldstein X-Patchwork-Id: 9284997 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BB153607FD for ; Tue, 16 Aug 2016 23:32:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACC4228779 for ; Tue, 16 Aug 2016 23:32:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A18A52879D; Tue, 16 Aug 2016 23:32:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 52B0728779 for ; Tue, 16 Aug 2016 23:32:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZnna-0004ej-NR; Tue, 16 Aug 2016 23:29:34 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZnnZ-0004dn-Jl for xen-devel@lists.xen.org; Tue, 16 Aug 2016 23:29:33 +0000 Received: from [85.158.143.35] by server-7.bemta-6.messagelabs.com id 28/D9-15404-CD1A3B75; Tue, 16 Aug 2016 23:29:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRWlGSWpSXmKPExsVyMXThEd07Cze HG9y6w2Sx5ONiFgdGj6O7fzMFMEaxZuYl5VcksGb86P7MXDCbo+LPmkNMDYxT2bsYuTiEBCYx Srza08vaxcjJwSIwj1ni/w51kISEQD+rROfCpSwgCQmBGIlpTzeyQtg1EvefbmIHsYUEFCR+T zjEBDFpBZPEi0m/mUASbAIaEk9+zWADsUUEpCWufb7MCGIzC5RI7J3/A8wWFnCUODvrPjPEZl WJ2bOPgNm8QPHdf1YDLeAAWiYnseC9D0iYU8BJ4ujLBqi9jhLNa6azTWAUWMDIsIpRozi1qCy 1SNfIXC+pKDM9oyQ3MTNH19DATC83tbg4MT01JzGpWC85P3cTIzCwGIBgB+PitYGHGCU5mJRE eWdO3BguxJeUn1KZkVicEV9UmpNafIhRhoNDSYK3bsHmcCHBotT01Iq0zBxgiMOkJTh4lER4o 0DSvMUFibnFmekQqVOMxhxbfl9by8Sxbeq9tUxCLHn5ealS4rzxIKUCIKUZpXlwg2Cxd4lRVk qYlxHoNCGegtSi3MwSVPlXjOIcjErCvDUgU3gy80rg9r0COoUJ6BR96Q0gp5QkIqSkGhhFYvj tdpaVtpuGdRqx394/T9RHzEduj5TvzC/XTTfmCv+VCxV+oyGz1SZ2m7rnW+tT8u//tLwvPp/L fbX+2VyrBBmNtbPenMmyS3a1ntXcLm2w/o75Li0h2T0pkW/rJhwxbbQ6odaY9Pyyxj0NJgGRm TIeUy9sVPPRPJkn+snrvkAw36ncA0osxRmJhlrMRcWJAESqdK64AgAA X-Env-Sender: cardoe@cardoe.com X-Msg-Ref: server-15.tower-21.messagelabs.com!1471390171!28730072!1 X-Originating-IP: [209.85.161.196] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.84; banners=-,-,- X-VirusChecked: Checked Received: (qmail 23292 invoked from network); 16 Aug 2016 23:29:31 -0000 Received: from mail-yw0-f196.google.com (HELO mail-yw0-f196.google.com) (209.85.161.196) by server-15.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 16 Aug 2016 23:29:31 -0000 Received: by mail-yw0-f196.google.com with SMTP id u134so4227962ywg.3 for ; Tue, 16 Aug 2016 16:29:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cardoe.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cNJRt4B17INIZfOPJbmfFD4I+Z3dYtsOOel4IudCVY8=; b=ODmPtLgu0+N5n2ZSzCf3iMFF/k/0nm96von8br0XPtRv50V46WKKKThLEh4XGa0LJi QMH78lNXJeCzWwbJZGiQktnygK35SRxJquqaiC9453b1CExwR8/z3IlPSnMN1rVF7yuX kSnHv+5M/1eK3GtfRKAunmxYyqaRI5UVdBfPk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cNJRt4B17INIZfOPJbmfFD4I+Z3dYtsOOel4IudCVY8=; b=K8ow6tt9UYniD2fWKqQNL8JQ33W/m18xdF6DQvxxf36+DcaC7/u29JmqbEH9mjSs38 n+u690+84bBUK0yH7OA0ceWXIQMXXADCgvfxDxbzUQO6nR6EU5JyPPnzqZphKc/ZkWxG HmwuAad4T/FChQuXqHJeV35/IZnA195jIqTi73Och4M9wAzEm3BQv/pMo3WiLEzgplk3 ABJXQm+ZYT6HTesOIUQICQFY1NqQFN2Epriltqw+nka1V1kR+z8ohdDnou5flufV3W75 UzdJVAVtPeR0uftvg/QTE8UBZsoGJ1a7KTEsVoEoh2x5SFQQhlVxixEjy5+MkRpjFi7e V4MQ== X-Gm-Message-State: AEkoouv2CVinPb97l0x8NEf/+RcjEDp8zDjg6egPj6Glo+oH6f0Iog6cZgjDJKlCGVIVrQ== X-Received: by 10.129.72.201 with SMTP id v192mr29930528ywa.231.1471390170633; Tue, 16 Aug 2016 16:29:30 -0700 (PDT) Received: from swanson.attlocal.net (104-179-196-18.lightspeed.brhmal.sbcglobal.net. [104.179.196.18]) by smtp.gmail.com with ESMTPSA id p67sm14046603ywe.2.2016.08.16.16.29.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Aug 2016 16:29:29 -0700 (PDT) From: Doug Goldstein To: xen-devel@lists.xen.org Date: Tue, 16 Aug 2016 18:28:27 -0500 Message-Id: <1471390109-10407-8-git-send-email-cardoe@cardoe.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1471390109-10407-1-git-send-email-cardoe@cardoe.com> References: <1471390109-10407-1-git-send-email-cardoe@cardoe.com> Cc: Andrew Cooper , Doug Goldstein , Jan Beulich Subject: [Xen-devel] [PATCH 7/9] x86/mtrr: drop unused positive_have_wrcomb() X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Unused function, gone. Signed-off-by: Doug Goldstein Acked-by: Jan Beulich --- xen/arch/x86/cpu/mtrr/generic.c | 5 ----- xen/arch/x86/cpu/mtrr/mtrr.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/xen/arch/x86/cpu/mtrr/generic.c b/xen/arch/x86/cpu/mtrr/generic.c index 1d67035..012aca4 100644 --- a/xen/arch/x86/cpu/mtrr/generic.c +++ b/xen/arch/x86/cpu/mtrr/generic.c @@ -555,8 +555,3 @@ int mtrr_generic_have_wrcomb(void) rdmsrl(MSR_MTRRcap, config); return (config & (1ULL << 10)); } - -int positive_have_wrcomb(void) -{ - return 1; -} diff --git a/xen/arch/x86/cpu/mtrr/mtrr.h b/xen/arch/x86/cpu/mtrr/mtrr.h index 9391fc5..9405cbc 100644 --- a/xen/arch/x86/cpu/mtrr/mtrr.h +++ b/xen/arch/x86/cpu/mtrr/mtrr.h @@ -22,8 +22,6 @@ void mtrr_generic_set(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type); int mtrr_generic_have_wrcomb(void); -extern int positive_have_wrcomb(void); - /* library functions for processor-specific routines */ struct set_mtrr_context { unsigned long flags;