From patchwork Fri Jan 4 09:19:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Hao X-Patchwork-Id: 10747877 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BCB1E6C5 for ; Fri, 4 Jan 2019 00:55:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0BCB26E54 for ; Fri, 4 Jan 2019 00:55:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91D0A26E75; Fri, 4 Jan 2019 00:55:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EF3426E54 for ; Fri, 4 Jan 2019 00:55:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727119AbfADAzq (ORCPT ); Thu, 3 Jan 2019 19:55:46 -0500 Received: from mxhk.zte.com.cn ([63.217.80.70]:30512 "EHLO mxhk.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbfADAzq (ORCPT ); Thu, 3 Jan 2019 19:55:46 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id D55A6DB7B348FC543D89; Fri, 4 Jan 2019 08:55:43 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id x040tZd5006249; Fri, 4 Jan 2019 08:55:35 +0800 (GMT-8) (envelope-from peng.hao2@zte.com.cn) Received: from localhost.localdomain.localdomain ([10.74.120.59]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2019010408560931-20345232 ; Fri, 4 Jan 2019 08:56:09 +0800 From: Peng Hao To: paul@paul-moore.com, sds@tycho.nsa.gov, eparis@parisplace.org Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Hao Subject: [PATCH] security/selinux/hooks: remove unneeded semicolon Date: Fri, 4 Jan 2019 17:19:07 +0800 Message-Id: <1546593547-24406-1-git-send-email-peng.hao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2019-01-04 08:56:09, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2019-01-04 08:55:19, Serialize complete at 2019-01-04 08:55:19 X-MAIL: mse01.zte.com.cn x040tZd5006249 Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Remove unneeded semicolon. Signed-off-by: Peng Hao --- security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index a67459e..73c679e 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -1263,7 +1263,7 @@ static void selinux_write_opts(struct seq_file *m, default: BUG(); return; - }; + } /* we need a comma before each option */ seq_putc(m, ','); seq_puts(m, prefix);