aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/npu2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/npu2.c b/hw/npu2.c
index 74e3325..0eb787c 100644
--- a/hw/npu2.c
+++ b/hw/npu2.c
@@ -1865,8 +1865,8 @@ static int opal_npu_destroy_context(uint64_t phb_id, uint64_t pid, uint64_t bdf)
/* And zero the entry */
npu2_write(p, NPU2_XTS_PID_MAP + id*0x20, 0);
- unlock(&p->lock);
out:
+ unlock(&p->lock);
return rc;
}
opal_call(OPAL_NPU_DESTROY_CONTEXT, opal_npu_destroy_context, 3);