From nobody Sat May 4 17:41:06 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594951085; cv=none; d=zohomail.com; s=zohoarc; b=JDGp93ldP7ZtnpknQg68hEDNoeu/GUw/GTFYsGfhQoAgXxiFazSxCyazsrqyuu7qGzCtFV3IJmqm2bVmWmZAluROBCQGao82uFJECR2UxNXn6OlKFiOSs5rzxV28Sf0GsDKyDJn05HZl4FftSHJSPGe8X85MRCzY0Dg7xyCPnzE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594951085; h=Content-Type:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=73SB6Z+r+565TVIGveq/ukNCV66gbMD8lTv6Zl1Z2JY=; b=kRckZ9vb6J92CioiY0iS+sJiqo1uJev8UYaCXl42F8R0LxrIqOYrD8CqtXMIgahgltXmtmKxNgBH8/NP28U6SYpC+dtCeoqP4ZcFBcRWvHOrAx3iKcmAkA/wcYaJNDeWD1dOesHkmtJHheGmFlvTw0bdzvdl2UFmU1bJggRcVMo= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1594951085112318.83850406042836; Thu, 16 Jul 2020 18:58:05 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-317-7603AezyMaiAhGfmfRvHlg-1; Thu, 16 Jul 2020 21:58:01 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 84CB610059A9; Fri, 17 Jul 2020 01:57:55 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E5D6172AC8; Fri, 17 Jul 2020 01:57:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5133C1809554; Fri, 17 Jul 2020 01:57:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06H1vpME015771 for ; Thu, 16 Jul 2020 21:57:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4028920A0537; Fri, 17 Jul 2020 01:57:51 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 17DAE20A0536 for ; Fri, 17 Jul 2020 01:57:49 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 01BFE80CC2C for ; Fri, 17 Jul 2020 01:57:49 +0000 (UTC) Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.217.80.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-453-LImWXFZPNXeXXw9XOsDbQA-1; Thu, 16 Jul 2020 21:57:46 -0400 Received: from mse-fl1.zte.com.cn (unknown [10.30.14.238]) by Forcepoint Email with ESMTPS id B339C2D13D8E89C3AC71 for ; Fri, 17 Jul 2020 09:57:43 +0800 (CST) Received: from notes_smtp.zte.com.cn (notes_smtp.zte.com.cn [10.30.1.239]) by mse-fl1.zte.com.cn with ESMTP id 06H1vXNd098013 for ; Fri, 17 Jul 2020 09:57:33 +0800 (GMT-8) (envelope-from wang.yi59@zte.com.cn) Received: from fox-host8.localdomain ([10.74.120.8]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2020071709580793-4311299 ; Fri, 17 Jul 2020 09:58:07 +0800 X-MC-Unique: 7603AezyMaiAhGfmfRvHlg-1 X-MC-Unique: LImWXFZPNXeXXw9XOsDbQA-1 From: Yi Wang To: libvir-list@redhat.com Subject: [PATCH] security: Remove the superfluous break Date: Fri, 17 Jul 2020 10:00:43 +0800 Message-Id: <1594951243-35113-1-git-send-email-wang.yi59@zte.com.cn> X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2020-07-17 09:58:08, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2020-07-17 09:57:38, Serialize complete at 2020-07-17 09:57:38 X-MAIL: mse-fl1.zte.com.cn 06H1vXNd098013 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Cc: wang.yi59@zte.com.cn, Liao Pingfang , wang.liang82@zte.com.cn, xue.zhihong@zte.com.cn X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 2 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Liao Pingfang 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=C3=A1n Tomko --- src/security/security_apparmor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/security/security_apparmor.c b/src/security/security_appar= mor.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: --=20 2.9.5