Received: from eggs.gnu.org ([2001:4830:134:3::10]:53973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAHZ7-00017O-UV for qemu-devel@nongnu.org; Wed, 01 Jul 2015 08:56:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAHZ3-0006Dw-Oa for qemu-devel@nongnu.org; Wed, 01 Jul 2015 08:56:37 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:9371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAHZ3-0006Dl-Jv for qemu-devel@nongnu.org; Wed, 01 Jul 2015 08:56:33 -0400 Date: Wed, 1 Jul 2015 13:55:16 +0100 From: Stefano Stabellini In-Reply-To: <1435605913-23826-3-git-send-email-konrad.wilk@oracle.com> Message-ID: References: <1435605913-23826-1-git-send-email-konrad.wilk@oracle.com> <1435605913-23826-3-git-send-email-konrad.wilk@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: Re: [Qemu-devel] [PATCH RFC 2/6] xen/pt: Make xen_pt_msi_set_enable static List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xenproject.org, qemu-devel@nongnu.org, stefano.stabellini@eu.citrix.com On Mon, 29 Jun 2015, Konrad Rzeszutek Wilk wrote: > As we do not use it outside our code. > > Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Stefano Stabellini > hw/xen/xen_pt.h | 1 - > hw/xen/xen_pt_msi.c | 2 +- > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h > index 393f36c..09358b1 100644 > --- a/hw/xen/xen_pt.h > +++ b/hw/xen/xen_pt.h > @@ -289,7 +289,6 @@ static inline uint8_t xen_pt_pci_intx(XenPCIPassthroughState *s) > } > > /* MSI/MSI-X */ > -int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool en); > int xen_pt_msi_setup(XenPCIPassthroughState *s); > int xen_pt_msi_update(XenPCIPassthroughState *d); > void xen_pt_msi_disable(XenPCIPassthroughState *s); > diff --git a/hw/xen/xen_pt_msi.c b/hw/xen/xen_pt_msi.c > index 263e051..5822df5 100644 > --- a/hw/xen/xen_pt_msi.c > +++ b/hw/xen/xen_pt_msi.c > @@ -220,7 +220,7 @@ static int msi_msix_disable(XenPCIPassthroughState *s, > * MSI virtualization functions > */ > > -int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool enable) > +static int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool enable) > { > XEN_PT_LOG(&s->dev, "%s MSI.\n", enable ? "enabling" : "disabling"); > > -- > 2.1.0 >