[PATCH] security: Remove the superfluous break
Daniel Henrique Barboza
danielhb413 at gmail.com
Fri Jul 17 14:06:43 UTC 2020
On 7/16/20 11:00 PM, Yi Wang wrote:
> From: Liao Pingfang <liao.pingfang at zte.com.cn>
>
> Remove the superfuous break, as there is a 'return' before it.
>
> Signed-off-by: Liao Pingfang <liao.pingfang at zte.com.cn>
> Signed-off-by: Yi Wang <wang.yi59 at zte.com.cn>
> ---
Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
> src/security/security_apparmor.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c
> index 3f6a213..eea37dc 100644
> --- a/src/security/security_apparmor.c
> +++ b/src/security/security_apparmor.c
> @@ -699,7 +699,6 @@ AppArmorSetMemoryLabel(virSecurityManagerPtr mgr,
> return -1;
> }
> return reload_profile(mgr, def, mem->nvdimmPath, true);
> - break;
> case VIR_DOMAIN_MEMORY_MODEL_NONE:
> case VIR_DOMAIN_MEMORY_MODEL_DIMM:
> case VIR_DOMAIN_MEMORY_MODEL_LAST:
>
More information about the libvir-list
mailing list