[libvirt] [PATCH] security: remove dead code from virSecurityDACGenLabel

Alex Jia ajia at redhat.com
Wed Aug 29 10:01:42 UTC 2012


* src/security/security_dac.c: remove useless dead code.

Signed-off-by: Alex Jia <ajia at redhat.com>
---
 src/security/security_dac.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/security/security_dac.c b/src/security/security_dac.c
index 5de7391..211fb37 100644
--- a/src/security/security_dac.c
+++ b/src/security/security_dac.c
@@ -891,7 +891,6 @@ virSecurityDACGenLabel(virSecurityManagerPtr mgr,
     case VIR_DOMAIN_SECLABEL_NONE:
         /* no op */
         return 0;
-        break;
     default:
         virReportError(VIR_ERR_INTERNAL_ERROR,
                        _("unexpected security label type '%s'"),
-- 
1.7.1




More information about the libvir-list mailing list