|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH v2 5/7] x86/platform: removed break to address MISRA C:2012 Rule 2.1
The break statement is redundant, hence it can be removed.
Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
---
Changes in v2:
- Remove the outer break, instead of the inner one.
---
xen/arch/x86/platform_hypercall.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/xen/arch/x86/platform_hypercall.c
b/xen/arch/x86/platform_hypercall.c
index 4dde71db275c..7a2e4b9b603e 100644
--- a/xen/arch/x86/platform_hypercall.c
+++ b/xen/arch/x86/platform_hypercall.c
@@ -725,7 +725,6 @@ ret_t do_platform_op(
0, cpu_down_helper, (void *)(unsigned long)cpu);
break;
}
- break;
case XENPF_cpu_hotadd:
ret = xsm_resource_plug_core(XSM_HOOK);
--
2.34.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |