Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1768926ybl; Thu, 19 Dec 2019 02:42:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzL//CymNgCfB4trrklFUL80gLjDIBhRZ+aQt+ClnEarF2N0QaHzbFwnwkzt9FV+K39A3uL X-Received: by 2002:a9d:7592:: with SMTP id s18mr8496754otk.130.1576752144446; Thu, 19 Dec 2019 02:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576752144; cv=none; d=google.com; s=arc-20160816; b=fTc/cPu1js3hNS+SNHs2heVg80MDGSkTrlVAT3rZBwYiz/VEtxk+9NoXvvGtpD5CQN yupb8GcVCEYbr6h5tZNoIjchioWwdO1jht1xfa57UrHZ/2Aj8HdMINO/ss5rGUjk3QDl okgP8zldVmhyDVnb9aT8NsTwru/8KSDPooE2ScDXQGSG2kVwQE9Wfbn4CaTF+KjoEsAC AjhHMJdRjBggI9cYXNTx8a5Dr9ncpjbw6btyCAkzCDdWbLXV4z55okj9ubVSjKfvZaKX IXWefFrDRO6CRM10+x1yKiMIQ7PaHTpQ84MsGfQV05sU7DKV8aWex5LLzjXjnZbqbGv9 cRvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=jirz/5M7wW4rZzlvY0oiNMP5a+9hx2O+OBwDvsNo05I=; b=UHpU8bY0BuSkqYrXLjSAsxZk3mN7VIJbCtR8lOx0lWk+NPZ2OjFJdbd7snTa8JKGQl +8VVRT+Gj0yTdvQhb+GqQbKljtx6njHL1il7NK71QNvc/5DDD6qumYNNv2YdGouvd3pF obvpXXvjpEiXz0pkStEm2MPx1pbnUP7PZZlNz6w0Hk6/ca+9dcTVAHqzglaLeNEnvPQF +4n5ly83BztoQrTIgdPHQfHYrFxIEJFGdZtVek17PlSYlqLC9wvFGOA5UBhXUAPN/jrU eC+iS58JLUySqrF6Lz6dU2X48a36mEopa7JcS8nIBSL0jr44I/wesSWdBDaiWskp9nVB V1yQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22si3307945oti.74.2019.12.19.02.42.11; Thu, 19 Dec 2019 02:42:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726699AbfLSKl0 (ORCPT + 99 others); Thu, 19 Dec 2019 05:41:26 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:41168 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726633AbfLSKlZ (ORCPT ); Thu, 19 Dec 2019 05:41:25 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B0393D3EB05AC1DBC20E; Thu, 19 Dec 2019 18:41:23 +0800 (CST) Received: from huawei.com (10.90.53.225) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.439.0; Thu, 19 Dec 2019 18:41:16 +0800 From: zhengbin To: , , , CC: , Subject: [PATCH RESEND] 9p: Remove unneeded semicolon Date: Thu, 19 Dec 2019 18:48:37 +0800 Message-ID: <1576752517-58292-1-git-send-email-zhengbin13@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.90.53.225] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes coccicheck warning: fs/9p/vfs_inode.c:146:3-4: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- fs/9p/vfs_inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index b82423a..c9255d3 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -143,7 +143,7 @@ static umode_t p9mode2unixmode(struct v9fs_session_info *v9ses, default: p9_debug(P9_DEBUG_ERROR, "Unknown special type %c %s\n", type, stat->extension); - }; + } *rdev = MKDEV(major, minor); } else res |= S_IFREG; -- 2.7.4