From 30f00a0284a5ee356de6f6095e52173f2234145b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 18 Jul 2008 16:02:23 +0100 Subject: [PATCH] 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 --- hw/pass-through.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5