From: Liao Pingfang Date: Fri, 17 Jul 2020 02:00:43 +0000 (+0800) Subject: security: Remove the superfluous break X-Git-Tag: v6.6.0-rc1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8df3d616046b71be7b7042c0549041f775f1e57e;p=thirdparty%2Flibvirt.git security: Remove the superfluous break Remove the superfuous break, as there is a 'return' before it. Signed-off-by: Liao Pingfang Signed-off-by: Yi Wang Reviewed-by: Daniel Henrique Barboza Reviewed-by: Ján Tomko Signed-off-by: Ján Tomko --- diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c index 3f6a213b43..eea37dca83 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: