From: Ian Jackson Date: Fri, 18 Jul 2008 15:02:23 +0000 (+0100) Subject: hw/pass-through.c: pt_unregister_regions returns void X-Git-Tag: xen-3.3.0-rc1~17 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=30f00a0284a5ee356de6f6095e52173f2234145b;p=qemu-xen-3.3-testing.git hw/pass-through.c: pt_unregister_regions returns void It only ever falls off the end, and its return value is not used by its one caller. Signed-off-by: Ian Jackson --- diff --git a/hw/pass-through.c b/hw/pass-through.c index 3e2e6db0..1bddbd55 100644 --- a/hw/pass-through.c +++ b/hw/pass-through.c @@ -408,7 +408,7 @@ static int pt_register_regions(struct pt_dev *assigned_device) return 0; } -static int pt_unregister_regions(struct pt_dev *assigned_device) +static void pt_unregister_regions(struct pt_dev *assigned_device) { int i, type, ret; uint32_t e_size;