summaryrefslogtreecommitdiff
path: root/hw/net/ne2000-isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/ne2000-isa.c')
-rw-r--r--hw/net/ne2000-isa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/net/ne2000-isa.c b/hw/net/ne2000-isa.c
index a7f5a9464d..8fab7ae2ec 100644
--- a/hw/net/ne2000-isa.c
+++ b/hw/net/ne2000-isa.c
@@ -127,9 +127,7 @@ static void isa_ne2000_set_bootindex(Object *obj, Visitor *v,
s->c.bootindex = boot_index;
out:
- if (local_err) {
- error_propagate(errp, local_err);
- }
+ error_propagate(errp, local_err);
}
static void isa_ne2000_instance_init(Object *obj)