From 43a134db615db6754d70f72bb1beca7b1e0b30a4 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 30 Sep 2009 08:43:34 +0100 Subject: Cleanup: Make local functions static and remove unused functions. Signed-off-by: Christoph Egger --- xen/arch/x86/hvm/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xen/arch/x86/hvm/io.c') diff --git a/xen/arch/x86/hvm/io.c b/xen/arch/x86/hvm/io.c index 0d7f5ffa6b..42a7b63b98 100644 --- a/xen/arch/x86/hvm/io.c +++ b/xen/arch/x86/hvm/io.c @@ -244,7 +244,7 @@ void hvm_io_assist(void) vcpu_end_shutdown_deferral(curr); } -void dpci_ioport_read(uint32_t mport, ioreq_t *p) +static void dpci_ioport_read(uint32_t mport, ioreq_t *p) { int i, sign = p->df ? -1 : 1; uint32_t data = 0; @@ -274,7 +274,7 @@ void dpci_ioport_read(uint32_t mport, ioreq_t *p) } } -void dpci_ioport_write(uint32_t mport, ioreq_t *p) +static void dpci_ioport_write(uint32_t mport, ioreq_t *p) { int i, sign = p->df ? -1 : 1; uint32_t data; -- cgit v1.2.3